summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml12
1 files changed, 7 insertions, 5 deletions
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}"