Merge pull request #1165 from gravitl/feature_v0.14.2_traefik_defaults

update traefik compose to use secure proxy
This commit is contained in:
Alex Feiszli 2022-06-02 08:35:01 -04:00 committed by GitHub
commit 138cb6fadc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ services:
NODE_ID: "netmaker-server-1" NODE_ID: "netmaker-server-1"
MQ_HOST: "mq" MQ_HOST: "mq"
# uncomment once netmaker supports changing MQ port # uncomment once netmaker supports changing MQ port
#MQ_PORT: "443" MQ_PORT: "443"
HOST_NETWORK: "off" HOST_NETWORK: "off"
VERBOSITY: "1" VERBOSITY: "1"
MANAGE_IPTABLES: "on" MANAGE_IPTABLES: "on"
@ -121,10 +121,10 @@ services:
ports: ports:
- "127.0.0.1:1883:1883" - "127.0.0.1:1883:1883"
# comment once netmaker supports changing MQ port # comment once netmaker supports changing MQ port
- "8883:8883" # - "8883:8883"
# uncomment once netmaker supports changing MQ port # uncomment once netmaker supports changing MQ port
#expose: expose:
# - "8883" - "8883"
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.tcp.routers.mqtts.rule=HostSNI(`broker.NETMAKER_BASE_DOMAIN`) - traefik.tcp.routers.mqtts.rule=HostSNI(`broker.NETMAKER_BASE_DOMAIN`)