feat: add production landing page service and remove Caddy in favor of external reverse proxy configuration

This commit is contained in:
2026-04-03 19:54:32 +02:00
parent c13eb331be
commit 0eca9a101f
6 changed files with 35 additions and 50 deletions

View File

@@ -1,8 +1,7 @@
# GreenLens Landing
Self-hosted Next.js landing page for GreenLens. The production stack in this directory runs:
Self-hosted Next.js landing page for GreenLens. The production stack in this directory runs behind an external reverse proxy and includes:
- `caddy` for TLS and reverse proxy
- `landing` for the Next.js standalone app
- `api` for the Express backend from `../server`
- `postgres` for persistent app data
@@ -23,6 +22,13 @@ From `greenlns-landing/docker-compose.yml`:
docker compose up --build -d
```
Published ports for the external reverse proxy:
- `3000` for `landing`
- `3001` for `api`
- `9000` for MinIO object storage
- `9001` for the MinIO console
Required environment variables:
- `SITE_DOMAIN`