chore: document new configuration + add redis to docker compose

This commit is contained in:
mrjvs
2026-08-19 14:03:10 +02:00
parent 5a31197dcf
commit 316aedc69f
3 changed files with 9 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
name: "pn-website-dev"
services:
redis:
image: redis:8.2-alpine
restart: unless-stopped
ports:
- "6379:6379" # Redis port
mailpit:
image: axllent/mailpit
restart: unless-stopped

View File

@@ -29,6 +29,8 @@ There are no fully required configuration variables, the app can runs minimally
| Core | `PN_WEBSITE_PUBLIC_BASE_URL` | Base URL of the app | `https://pretendo.network` |
| | `PN_WEBSITE_PUBLIC_CDN_BASE_URL` | Base URL for the CDN | `https://r2-cdn.pretendo.cc` |
| | `PN_WEBSITE_PUBLIC_COOKIE_SECURE` | Should Secure be enabled for auth cookies | `true` |
| | `PN_WEBSITE_TRUST_PROXY` | Should X-Forwarded-* headers be trusted? | `false` |
| | `PN_WEBSITE_REDIS_URL` | Redis URL to use for caching & ratelimits | (No distributed KV) |
| | | | |
| Authentication | `PN_WEBSITE_GRPC_HOST` | Account server GRPC host + port | - |
| | `PN_WEBSITE_GRPC_API_KEY` | Account server GRPC API key | - |

View File

@@ -5,6 +5,8 @@ PN_WEBSITE_PUBLIC_BASE_URL=http://localhost:3000
PN_WEBSITE_PUBLIC_CDN_BASE_URL=http://pretendo.localhost:3902
PN_WEBSITE_PUBLIC_COOKIE_SECURE=false
PN_WEBSITE_PUBLIC_REDIRECT_HOSTS=localhost:3000
PN_WEBSITE_TRUST_PROXY=false
PN_WEBSITE_REDIS_URL=redis://localhost:6379
# Optional - Authentication
PN_WEBSITE_GRPC_HOST=localhost:8123