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:
@@ -72,7 +72,7 @@ DISCORD_WEBHOOK_DOWNLOADS_URL
|
|||||||
### Landing and deployment
|
### Landing and deployment
|
||||||
`greenlns-landing/` is a Next.js 16 app built with `output: 'standalone'`.
|
`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
|
- `caddy` for TLS and reverse proxy
|
||||||
- `landing` for the Next.js app
|
- `landing` for the Next.js app
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ services:
|
|||||||
OPENAI_HEALTH_MODEL: ${OPENAI_HEALTH_MODEL:-gpt-5-mini}
|
OPENAI_HEALTH_MODEL: ${OPENAI_HEALTH_MODEL:-gpt-5-mini}
|
||||||
REVENUECAT_WEBHOOK_SECRET: ${REVENUECAT_WEBHOOK_SECRET:-}
|
REVENUECAT_WEBHOOK_SECRET: ${REVENUECAT_WEBHOOK_SECRET:-}
|
||||||
REVENUECAT_PRO_ENTITLEMENT_ID: ${REVENUECAT_PRO_ENTITLEMENT_ID:-pro}
|
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}
|
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET is required}
|
||||||
PLANT_IMPORT_ADMIN_KEY: ${PLANT_IMPORT_ADMIN_KEY:-}
|
PLANT_IMPORT_ADMIN_KEY: ${PLANT_IMPORT_ADMIN_KEY:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user