changes
This commit is contained in:
1 parent
f7037a6780
commit
acb5070622
44 files changed
+5047
No files matched your search
@@ -0,0 +1,39 @@
|
||||
# Copy to deploy/.env and fill in — docker compose loads this automatically.
|
||||
|
||||
# --- Database ---
|
||||
# "postgres" (production, default) or "sqlite" (local dev/testing, no
|
||||
# external DB needed). When sqlite, DATABASE_URL is a file path, not a DSN —
|
||||
# e.g. ./data/vlog.db (the compose file mounts ./data for you).
|
||||
DB_DRIVER=postgres
|
||||
DATABASE_URL=postgres://user:password@host:5432/vlog?sslmode=require
|
||||
|
||||
# --- OIDC (Keycloak/Authentik/Zitadel/etc) ---
|
||||
# Register OIDC_REDIRECT_URL with your provider as this client's callback URL.
|
||||
OIDC_ISSUER_URL=https://auth.example.com/realms/your-realm
|
||||
OIDC_CLIENT_ID=vlog
|
||||
OIDC_CLIENT_SECRET=changeme
|
||||
OIDC_REDIRECT_URL=https://garage.example.com/api/auth/callback
|
||||
|
||||
# This app's own public URL — whatever your existing Caddy/reverse proxy
|
||||
# serves it as. Determines whether session cookies are marked Secure (only
|
||||
# over https://).
|
||||
PUBLIC_BASE_URL=https://garage.example.com
|
||||
|
||||
# Random long string used to sign session JWTs. Generate with:
|
||||
# openssl rand -base64 32
|
||||
JWT_SIGNING_SECRET=changeme
|
||||
|
||||
# --- File storage ---
|
||||
# "s3" (production, default) or "local" (writes to disk — for testing
|
||||
# without a real S3 bucket). AWS_* vars below are ignored when local.
|
||||
STORAGE_DRIVER=s3
|
||||
LOCAL_STORAGE_PATH=./data/uploads
|
||||
|
||||
AWS_REGION=ap-southeast-2
|
||||
AWS_ACCESS_KEY_ID=changeme
|
||||
AWS_SECRET_ACCESS_KEY=changeme
|
||||
S3_BUCKET_NAME=vlog-uploads
|
||||
|
||||
# Port the app listens on inside the container / is published on the host
|
||||
# for your existing Caddy to reverse_proxy to.
|
||||
PORT=8080
|
||||
Reference in new issue
Block a user