Add Discord webhook env vars to root docker-compose (the one production uses)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Timo Knuth
2026-07-03 00:02:54 +02:00
parent 41327f9557
commit fb6108bd0c
2 changed files with 3 additions and 1 deletions

View File

@@ -72,7 +72,7 @@ DISCORD_WEBHOOK_DOWNLOADS_URL
### Landing and deployment
`greenlns-landing/` is a Next.js 16 app built with `output: 'standalone'`.
The production-style stack lives in `greenlns-landing/docker-compose.yml` and includes:
The production stack is deployed from the repo-root `docker-compose.yml` (env vars come from the repo-root `.env` on the server). `greenlns-landing/docker-compose.yml` is a secondary variant — when adding backend env vars, update BOTH files, but the root file is the one production uses. The stack includes:
- `caddy` for TLS and reverse proxy
- `landing` for the Next.js app

View File

@@ -42,6 +42,8 @@ services:
OPENAI_HEALTH_MODEL: ${OPENAI_HEALTH_MODEL:-gpt-5-mini}
REVENUECAT_WEBHOOK_SECRET: ${REVENUECAT_WEBHOOK_SECRET:-}
REVENUECAT_PRO_ENTITLEMENT_ID: ${REVENUECAT_PRO_ENTITLEMENT_ID:-pro}
DISCORD_WEBHOOK_SALES_URL: ${DISCORD_WEBHOOK_SALES_URL:-}
DISCORD_WEBHOOK_DOWNLOADS_URL: ${DISCORD_WEBHOOK_DOWNLOADS_URL:-}
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET is required}
PLANT_IMPORT_ADMIN_KEY: ${PLANT_IMPORT_ADMIN_KEY:-}
depends_on: