Untracks envs/rex/.env and envs/siong/.env (kept on disk so existing deploys keep working) and adds matching .env.example templates so a fresh clone has something to copy from. .gitignore widens from envs/dev/.env to envs/*/.env to cover all three deployments. Per-deployment secrets are no longer committed; rotation deemed unnecessary because the repo is hosted on a private self-hosted Gitea instance. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
39 lines
884 B
Plaintext
39 lines
884 B
Plaintext
# rex deployment template. Copy to envs/rex/.env (which is gitignored) and
|
|
# fill in the real secrets for the rex environment, OR paste the variables
|
|
# directly into the Portainer stack environment.
|
|
|
|
# === Runtime ===
|
|
# Leave unset (or 'false') in production. Setting CM_DEBUG=true exposes the
|
|
# Werkzeug debugger and is RCE if the port is reachable.
|
|
CM_DEBUG=false
|
|
|
|
# === Deployment Identity ===
|
|
CM_DEPLOY_NAME=rex-cm
|
|
CM_WEB_HOST_PORT=8001
|
|
|
|
# === Docker Registry / Build ===
|
|
CM_IMAGE_PREFIX=gitea.04080616.xyz/yiekheng
|
|
DOCKER_IMAGE_TAG=latest
|
|
|
|
# === Telegram ===
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_ALERT_CHAT_ID=
|
|
TELEGRAM_ALERT_BOT_TOKEN=
|
|
|
|
# === Database ===
|
|
DB_HOST=
|
|
DB_USER=
|
|
DB_PASSWORD=
|
|
DB_NAME=
|
|
DB_PORT=3306
|
|
DB_CONNECTION_TIMEOUT=8
|
|
DB_CONNECT_RETRIES=5
|
|
DB_CONNECT_RETRY_DELAY=2
|
|
|
|
# === Bot Config ===
|
|
CM_PREFIX_PATTERN=
|
|
CM_AGENT_ID=
|
|
CM_AGENT_PASSWORD=
|
|
CM_SECURITY_PIN=
|
|
CM_BOT_BASE_URL=
|