Closed devudopw closed 2 years ago
https://gist.github.com/mattkasun/face2a7c1f32031a2126ff7243caad12
No help from the gist.
Found the one mentioned by adding label to mq service, and I tried remove the label traefik.tcp.routers.mqtts.rule
and port binding, the error has gone now.
mq:
container_name: mq
image: eclipse-mosquitto:2-openssl
depends_on:
- netmaker
restart: unless-stopped
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
- mosquitto_data:/mosquitto/data
- mosquitto_logs:/mosquitto/log
- shared_certs:/mosquitto/certs
#expose: # remove port binding
# - "8883"
labels:
- traefik.enable=true
#- traefik.tcp.routers.mqtts.rule=HostSNI(`broker.nm.domain`) # remove this label
- traefik.tcp.routers.mqtts.tls.passthrough=true
- traefik.tcp.services.mqtts-svc.loadbalancer.server.port=8883
- traefik.tcp.routers.mqtts.service=mqtts-svc
- traefik.tcp.routers.mqtts.entrypoints=websecure
Contact Details
No response
What happened?
After created network, join some nodes, the mq started get some error. Here is the docker-compose
Version
v0.16.0
What OS are you using?
Linux
Relevant log output
Contributing guidelines