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