feat: add support for stripping inline comments in .env files and make Docker host port configurable via DS2API_HOST_PORT

This commit is contained in:
CJACK
2026-04-04 22:30:57 +08:00
parent eab197f4d9
commit a6836455dc
9 changed files with 130 additions and 14 deletions

View File

@@ -1,5 +1,8 @@
# DS2API runtime
# Runtime listen port inside the app/container
PORT=5001
# Docker Compose host port (compose only; container still listens on PORT)
DS2API_HOST_PORT=6011
LOG_LEVEL=INFO
# Admin authentication