added port configuration

This commit is contained in:
2023-01-18 01:00:02 +01:00
parent 2fcd873c10
commit 008d29deb0
2 changed files with 6 additions and 3 deletions

View File

@@ -7,9 +7,9 @@ services:
restart: unless-stopped restart: unless-stopped
ports: ports:
# These ports are in format <host-port>:<container-port> # These ports are in format <host-port>:<container-port>
- '80:80' # Public HTTP Port - '${HTTP_PORT}:80' # Public HTTP Port
- '443:443' # Public HTTPS Port - '${HTTPS_PORT}:443' # Public HTTPS Port
- '81:81' # Admin Web Port - '${WEB_PORT}:81' # Admin Web Port
# Add any other Stream port you want to expose # Add any other Stream port you want to expose
# - '21:21' # FTP # - '21:21' # FTP
environment: environment:

View File

@@ -1,5 +1,8 @@
# general # general
DATA_DIR=./data/ DATA_DIR=./data/
WEB_PORT=81
HTTP_PORT=80
HTTPS_PORT=443
# database # database
DB_ROOT_PASSWD= DB_ROOT_PASSWD=