Removed 'restart always' and fixed subscriber port
This commit is contained in:
parent
073fb3d5c5
commit
3dcb36919e
|
@ -10,11 +10,9 @@ services:
|
||||||
- SVC_HOST=mqtt.example.com
|
- SVC_HOST=mqtt.example.com
|
||||||
networks:
|
networks:
|
||||||
- tor_net
|
- tor_net
|
||||||
restart: always
|
|
||||||
|
|
||||||
mqtt.example.com:
|
mqtt.example.com:
|
||||||
image: eclipse-mosquitto
|
image: eclipse-mosquitto
|
||||||
restart: always
|
|
||||||
volumes:
|
volumes:
|
||||||
- broker_data:/mosquitto/data
|
- broker_data:/mosquitto/data
|
||||||
- ./broker-config:/mosquitto/config
|
- ./broker-config:/mosquitto/config
|
||||||
|
@ -31,7 +29,7 @@ services:
|
||||||
- sub_data:/data
|
- sub_data:/data
|
||||||
- ./sub-config:/etc/torch
|
- ./sub-config:/etc/torch
|
||||||
ports:
|
ports:
|
||||||
- 3434
|
- "9999:3434"
|
||||||
networks:
|
networks:
|
||||||
- broker_net
|
- broker_net
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user