Download .env.example from a3216/ds2api: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/a3216/ds2api/resolve/main/.env.example
- Command line
-
hf download hf://spaces/a3216/ds2api/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/a3216/ds2api/resolve/main/.env.example
510 Bytes
| # 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 | |