mirror of
https://github.com/gravitl/netmaker.git
synced 2025-02-26 00:53:23 +08:00
Merge pull request #1165 from gravitl/feature_v0.14.2_traefik_defaults
update traefik compose to use secure proxy
This commit is contained in:
commit
138cb6fadc
1 changed files with 4 additions and 4 deletions
|
@ -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`)
|
||||||
|
|
Loading…
Reference in a new issue