summaryrefslogtreecommitdiff
path: root/docker/docker-compose.yml
blob: 477176bbc0fa5af7495925147b6f8efd724cb9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: "3.6"
services:
  spotify_intersect:
    image: spotify_intersect
    container_name: spotify_intersect
    ports:
      - 8000:8000
    build:
      context: ..
      dockerfile: docker/Dockerfile
      #environment:
    networks:
      - database
      - hostnet
    depends_on:
      - track_db
      - zookeeper
  track_db:
    image: noria
    build:
      context: ..
      dockerfile: docker/noria/Dockerfile
      #volumes:
      #- db:/srv/noria
    networks:
      - database
    depends_on:
      - zookeeper
        #volumes:
        #db: {}
  zookeeper:
    image: 'bitnami/zookeeper:latest'
    networks:
      - database
    environment:
        ALLOW_ANONYMOUS_LOGIN: "yes"

networks:
  database:
     driver: bridge
  hostnet:
     external: true
     name: frontend