Added 'depends_on' in docker-compose to make sure that containers come up in the correct order

This commit is contained in:
B.J. Dweck 2020-11-01 20:40:45 +02:00
parent 4c7d3d8bb2
commit ffe167767c

View File

@ -10,6 +10,8 @@ services:
- SVC_HOST=broker
networks:
- tor_net
depends_on:
- broker
broker:
image: eclipse-mosquitto
@ -32,6 +34,8 @@ services:
- ${HTTP_PORT}:8080
networks:
- broker_net
depends_on:
- broker
volumes:
broker_data: