Files
Fierushio e6278e2208 fix(docker): forward every variable declared in docker/.env.example
* fix(docker): forward every documented env var to the container

docker/docker-compose.yml only forwarded a subset of the variables that
docker/.env.example tells users to set, so the rest were silently inert.
CHECKIN_CRON and BALANCE_REFRESH_CRON were additionally hardcoded, which
overrode any user value.

* docs(docker): declare the remaining supported env vars in the compose example
2026-08-30 14:00:09 +08:00

29 lines
728 B
Bash

# Meta API Hub - Environment Variables
# Copy this file to .env and fill in your values
# cp .env.example .env
# Admin authentication token (required, change this!)
AUTH_TOKEN=change-me-admin-token
# Proxy API token used for OpenAI-compatible proxy endpoint (required, change this!)
PROXY_TOKEN=change-me-proxy-sk-token
PORT=4000
NOTIFY_COOLDOWN_SEC=300
ADMIN_IP_ALLOWLIST=
SYSTEM_PROXY_URL=
TELEGRAM_ENABLED=false
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
TELEGRAM_API_BASE_URL=
TELEGRAM_MESSAGE_THREAD_ID=
TELEGRAM_USE_SYSTEM_PROXY=false
# Auto check-in cron (default: 8:00 AM every day)
CHECKIN_CRON=0 8 * * *
# Balance refresh cron (default: every hour)
BALANCE_REFRESH_CRON=0 * * * *
# Container timezone
TZ=Asia/Shanghai