From fb6108bd0c57e23c57d0d677a93b672cebd484c5 Mon Sep 17 00:00:00 2001 From: Timo Knuth Date: Fri, 3 Jul 2026 00:02:54 +0200 Subject: [PATCH] Add Discord webhook env vars to root docker-compose (the one production uses) Co-Authored-By: Claude Fable 5 --- CLAUDE.md | 2 +- docker-compose.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index aa9ddc6..f7cf5ad 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 68e6c24..fb602e3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: