add WEB_PORT environment variable to allow configurable web interface port mapping
This commit is contained in:
parent
40c5cbef1c
commit
000aa5710b
2 changed files with 4 additions and 1 deletions
|
|
@ -5,3 +5,6 @@ WEB_PASSWORD=admin
|
|||
# You MUST change this for a production deployment!
|
||||
# Generate a secure key using: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
|
||||
ENCRYPTION_KEY=CHANGE_ME_TO_A_VALID_FERNET_KEY
|
||||
|
||||
# The local port that the web interface will bind to
|
||||
WEB_PORT=8814
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ services:
|
|||
build: .
|
||||
container_name: xivlauncher-remote-otp
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
- "127.0.0.1:${WEB_PORT:-8814}:8080"
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue