From 2d62b339a1ee532d85152e9e4ecfb11048af1923 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 20 Jul 2020 12:20:57 +0200 Subject: Fix docker-compose configuration --- docker-compose.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index 6b5c979c..c3e62317 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,10 +7,12 @@ services: - REACT_APP_OAUTH_CLIENT_ID=${OPENDC_OAUTH_CLIENT_ID} image: frontend restart: on-failure - ports: - - "8081:80" networks: - backend + depends_on: + - api + ports: + - "8081:80" api: build: ./api @@ -18,7 +20,7 @@ services: restart: on-failure # Comment out these 2 lines for deployment ports: - - "8081:8081" + - "8082:8081" networks: - backend depends_on: @@ -47,7 +49,7 @@ services: volumes: - type: bind source: ./traces - target: /home/gradle/simulator/traces + target: /app/traces - type: volume source: results-volume target: /results @@ -85,7 +87,7 @@ services: depends_on: - mongo ports: - - 8082:8081 + - "8083:8081" environment: ME_CONFIG_MONGODB_ADMINUSERNAME: "${MONGO_INITDB_ROOT_USERNAME}" ME_CONFIG_MONGODB_ADMINPASSWORD: "${MONGO_INITDB_ROOT_PASSWORD}" -- cgit v1.2.3