Added 'depends_on' in docker-compose to make sure that containers come up in the correct order
This commit is contained in:
parent
4c7d3d8bb2
commit
ffe167767c
|
@ -10,6 +10,8 @@ services:
|
||||||
- SVC_HOST=broker
|
- SVC_HOST=broker
|
||||||
networks:
|
networks:
|
||||||
- tor_net
|
- tor_net
|
||||||
|
depends_on:
|
||||||
|
- broker
|
||||||
|
|
||||||
broker:
|
broker:
|
||||||
image: eclipse-mosquitto
|
image: eclipse-mosquitto
|
||||||
|
@ -32,6 +34,8 @@ services:
|
||||||
- ${HTTP_PORT}:8080
|
- ${HTTP_PORT}:8080
|
||||||
networks:
|
networks:
|
||||||
- broker_net
|
- broker_net
|
||||||
|
depends_on:
|
||||||
|
- broker
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
broker_data:
|
broker_data:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user