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
|
||||
networks:
|
||||
- tor_net
|
||||
restart: always
|
||||
|
||||
mqtt.example.com:
|
||||
image: eclipse-mosquitto
|
||||
restart: always
|
||||
volumes:
|
||||
- broker_data:/mosquitto/data
|
||||
- ./broker-config:/mosquitto/config
|
||||
|
@ -31,7 +29,7 @@ services:
|
|||
- sub_data:/data
|
||||
- ./sub-config:/etc/torch
|
||||
ports:
|
||||
- 3434
|
||||
- "9999:3434"
|
||||
networks:
|
||||
- broker_net
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user