Browse Source

updating composes

afeiszli 3 years ago
parent
commit
ed1d75e2e5
2 changed files with 2 additions and 0 deletions
  1. 1 0
      compose/docker-compose.reference.yml
  2. 1 0
      compose/docker-compose.yml

+ 1 - 0
compose/docker-compose.reference.yml

@@ -37,6 +37,7 @@ services:
       DATABASE: "sqlite" # Database to use - sqlite, postgres, or rqlite
       DATABASE: "sqlite" # Database to use - sqlite, postgres, or rqlite
       NODE_ID: "netmaker-server-1" # used for HA - identifies this server vs other servers
       NODE_ID: "netmaker-server-1" # used for HA - identifies this server vs other servers
       MQ_HOST: "mq"  # the address of the mq server. If running from docker compose it will be "mq". Otherwise, need to input address. If using "host networking", it will find and detect the IP of the mq container.
       MQ_HOST: "mq"  # the address of the mq server. If running from docker compose it will be "mq". Otherwise, need to input address. If using "host networking", it will find and detect the IP of the mq container.
+      MQ_SERVER_PORT: "1883" # the reachable port of MQ by the server - change if internal MQ port changes (or use external port if MQ is not on the same machine)
       MQ_PORT: "443" # the reachable port of MQ - change if external MQ port changes (port on proxy, not necessarily the one exposed in docker-compose)
       MQ_PORT: "443" # the reachable port of MQ - change if external MQ port changes (port on proxy, not necessarily the one exposed in docker-compose)
       HOST_NETWORK: "off" # whether or not host networking is turned on. Only turn on if configured for host networking (see docker-compose.hostnetwork.yml). Will set host-level settings like iptables.
       HOST_NETWORK: "off" # whether or not host networking is turned on. Only turn on if configured for host networking (see docker-compose.hostnetwork.yml). Will set host-level settings like iptables.
       VERBOSITY: "1" # logging verbosity level - 1, 2, or 3
       VERBOSITY: "1" # logging verbosity level - 1, 2, or 3

+ 1 - 0
compose/docker-compose.yml

@@ -34,6 +34,7 @@ services:
       NODE_ID: "netmaker-server-1"
       NODE_ID: "netmaker-server-1"
       MQ_HOST: "mq"
       MQ_HOST: "mq"
       MQ_PORT: "443"
       MQ_PORT: "443"
+      MQ_SERVER_PORT: "1883"
       HOST_NETWORK: "off"
       HOST_NETWORK: "off"
       VERBOSITY: "1"
       VERBOSITY: "1"
       MANAGE_IPTABLES: "on"
       MANAGE_IPTABLES: "on"