diff options
Diffstat (limited to 'docker/docker-compose.yml')
-rw-r--r-- | docker/docker-compose.yml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 43af83e..0481399 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -4,26 +4,33 @@ services: image: spotify_intersect container_name: spotify_intersect ports: - - 8085:8085 + - 8085:8085 build: context: .. dockerfile: docker/Dockerfile #environment: networks: - - database - - hostnet + - database + - hostnet depends_on: - - track_db + - track_db + links: + - "track_db:db" + #volumes: + #- /etc/ssl/certs:/etc/ssl/certs:ro # - zookeeper track_db: image: postgres container_name: track_db networks: - - database + - database + ports: + - 5432:5432 environment: POSTGRES_PASSWORD: example - volumes: ./data:/var/lib/postgresql/data + volumes: + - ./data:/var/lib/postgresql/data #track_db: #image: noria # build: |