docker compose containers should start automatically
This commit is contained in:
parent
b409d7fe28
commit
c33f6523e2
|
@ -14,6 +14,7 @@ services:
|
|||
- tor_net
|
||||
depends_on:
|
||||
- broker
|
||||
restart: unless-stopped
|
||||
|
||||
broker:
|
||||
image: eclipse-mosquitto
|
||||
|
@ -26,6 +27,7 @@ services:
|
|||
networks:
|
||||
- tor_net
|
||||
- broker_net
|
||||
restart: unless-stopped
|
||||
|
||||
subscriber:
|
||||
build: './subscriber'
|
||||
|
@ -38,6 +40,7 @@ services:
|
|||
- broker_net
|
||||
depends_on:
|
||||
- broker
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
broker_data:
|
||||
|
|
Loading…
Reference in New Issue
Block a user