Browse Source

Set web out port manually

ghorsington 3 years ago
parent
commit
4a31f17f4b
2 changed files with 2 additions and 2 deletions
  1. 1 0
      .env.template
  2. 1 2
      docker-compose.yml

+ 1 - 0
.env.template

@@ -19,6 +19,7 @@ GMAIL_PASSWORD=
 ERRORS_ADDR=
 
 WEB_DOMAIN=
+WEB_OUT_PORT=
 NOCTBOT_ADDR=
 RPC_PORT=
 WEB_COOKIE_KEY=

+ 1 - 2
docker-compose.yml

@@ -39,8 +39,7 @@ services:
     depends_on: 
       - web
     ports:
-      - "443:443"
-      - "80:80"
+      - "${WEB_OUT_PORT}:443"
     environment:
       DOMAINS: "${WEB_DOMAIN}:443"
     volumes: