Drop group membership checks; trust Authelia Remote-User when it equals the configured ADMIN_USERS list (default: jmartin).
40 lines
887 B
Bash
40 lines
887 B
Bash
# Server
|
|
NODE_ENV=production
|
|
PORT=3000
|
|
HOST=0.0.0.0
|
|
PUBLIC_URL=https://jmartgraphix.com
|
|
|
|
# Postgres
|
|
DB_HOST=postgres
|
|
DB_PORT=5432
|
|
DB_NAME=jmartgraphix-com
|
|
DB_USER=jmartgraphix-com
|
|
DB_PASS=changeme
|
|
DB_TYPE=postgres
|
|
DATABASE_URL=postgresql://jmartgraphix-com:changeme@postgres:5432/jmartgraphix-com
|
|
|
|
# Typesense
|
|
TYPESENSE_HOST=typesense
|
|
TYPESENSE_PORT=8108
|
|
TYPESENSE_PROTOCOL=http
|
|
TYPESENSE_API_KEY=typesense_api_key_change_me
|
|
|
|
# Imgproxy (optional)
|
|
IMGPROXY_HOST=http://imgproxy:8080
|
|
IMGPROXY_KEY=
|
|
IMGPROXY_SALT=
|
|
|
|
# Auth — Authelia Remote-User trust
|
|
# Comma-separated usernames allowed for admin (groups ignored)
|
|
ADMIN_USERS=jmartin
|
|
# When true, require Remote-User header for /api/v1/admin/* (disable only for local dev)
|
|
REQUIRE_REMOTE_USER=true
|
|
|
|
# Uploads
|
|
UPLOAD_DIR=/app/data/uploads
|
|
MAX_UPLOAD_MB=50
|
|
|
|
# Resume PDF
|
|
SITE_NAME=jmartgraphix
|
|
SITE_TAGLINE=Creative Professional Portfolio
|