Use PORT as proxyless host port

This commit is contained in:
cyph3rasi
2026-03-07 17:46:03 -08:00
parent bc4bce950a
commit 7faf536311
4 changed files with 41 additions and 19 deletions
+3 -6
View File
@@ -34,14 +34,11 @@ DB_NAME=synapsis
# OPTIONAL: General Settings
# ===========================================
# Application port - 'auto' scans 3000-3020 for first available (recommended)
# Or set a specific port: PORT=3000
# Application port.
# Default install (with bundled Caddy): PORT=auto scans 3000-3020 automatically.
# Existing reverse proxy mode (PROXY=none): use a fixed localhost port, e.g. PORT=3000.
PORT=auto
# External reverse proxy mode only:
# Port on localhost to expose Synapsis for nginx/Traefik/Caddy
# APP_HOST_PORT=3000
# Allow localhost domains in production (set only for local testing)
# ALLOW_LOCALHOST=1