Files
forwarder/.env.example
T
1sonhador f6b276511a fix(connection): fail-fast IMAP/SMTP tests; add Gitea webhook autodeploy
Connection tests use 5s timeouts and run IMAP/SMTP in parallel so the UI
gets a clear error instead of nginx 504. Add deploy-hook service (:9090) and
deploy-pull.sh for push-to-main deploys on CT 243.
2026-07-01 01:09:53 +01:00

23 lines
595 B
Bash

# Copy to .env — never commit .env
# MySQL
MYSQL_ROOT_PASSWORD=change_me_root
MYSQL_DATABASE=forwarder
MYSQL_USER=forwarder
MYSQL_PASSWORD=change_me_db
# App
DATABASE_URL=mysql+pymysql://forwarder:change_me_db@mysql:3306/forwarder?charset=utf8mb4
ENCRYPTION_KEY=change_me_fernet_key
APP_SECRET=change_me_jwt_secret
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change_me
# Worker
SYNC_INTERVAL_MINUTES=15
# Gitea webhook autodeploy (deploy-hook service on :9090)
DEPLOY_WEBHOOK_SECRET=change_me_random_64_chars
# On CT 243 production, set absolute path to clone:
# FORWARDER_REPO_DIR=/opt/forwarder