mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-23 09:07:40 -05:00
chore: document new configuration + add redis to docker compose
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 | - |
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user