docker compose containers should start automatically

This commit is contained in:
B.J. Dweck 2021-02-08 09:57:29 +02:00
parent b409d7fe28
commit c33f6523e2

View File

@ -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: