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
|
||||
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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user