mirror of
https://github.com/CJackHwang/ds2api.git
synced 2026-05-02 07:25:26 +08:00
21 lines
510 B
Plaintext
21 lines
510 B
Plaintext
# 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
|
|
DS2API_ADMIN_KEY=change-me
|
|
|
|
# Config loading (choose one)
|
|
# 1) file-based config
|
|
DS2API_CONFIG_PATH=/app/config.json
|
|
# 2) inline JSON or Base64 JSON
|
|
# DS2API_CONFIG_JSON=
|
|
# 3) legacy compatibility alias
|
|
# CONFIG_JSON=
|
|
|
|
# Optional: static admin assets path
|
|
# DS2API_STATIC_ADMIN_DIR=/app/static/admin
|