packages.wenpai.net/deploy/ansible/roles/app/templates/env.j2
Ben Word cbb1598733
Add Discord notifications for systemd pipeline failures (#81)
Wire a systemd OnFailure= unit that posts build ID and last 10 lines
of pipeline.log to a Discord webhook when the pipeline exits non-zero.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 11:14:13 -05:00

24 lines
695 B
Django/Jinja

APP_URL={{ app_url }}
APP_ENV={{ app_env }}
APP_DEBUG={{ app_debug }}
LOG_LEVEL={{ go_log_level }}
DB_PATH={{ db_path }}
LISTEN_ADDR={{ go_listen_addr }}
SESSION_LIFETIME_MINUTES={{ session_lifetime_minutes }}
SEEDS_FILE={{ seeds_file }}
WP_PACKAGES_DEPLOY_R2={{ wp_packages_deploy_r2 }}
R2_ACCESS_KEY_ID={{ vault_r2_access_key_id }}
R2_SECRET_ACCESS_KEY={{ vault_r2_secret_access_key }}
R2_BUCKET={{ vault_r2_bucket }}
R2_ENDPOINT={{ vault_r2_endpoint }}
R2_CDN_BUCKET={{ vault_r2_cdn_bucket }}
R2_CDN_PUBLIC_URL={{ r2_cdn_public_url }}
LITESTREAM_BUCKET={{ vault_r2_litestream_bucket }}
SENTRY_DSN={{ vault_sentry_dsn }}
DISCORD_WEBHOOK_URL={{ vault_discord_webhook_url | default('') }}