Initial portfolio CMS: Fastify API + Vite SPA
Single-container app with Postgres catalog, Typesense search, Authelia Remote-User admin, portfolio views, resume/PDF, media uploads, and ArtStation import tooling.
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# 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 groups allowed to access admin (empty = any authenticated user)
|
||||
ADMIN_GROUPS=lldap_admin,admin,portfolio_admin
|
||||
# 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
|
||||
Reference in New Issue
Block a user