Browse Source

update traefik compose to use secure proxy

Matthew R. Kasun 3 years ago
parent
commit
47ca206f5a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      compose/docker-compose.traefik.yml

+ 4 - 4
compose/docker-compose.traefik.yml

@@ -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:
-    #  - "8883"
+    expose:
+      - "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`)