feat: add production landing page service and remove Caddy in favor of external reverse proxy configuration
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user