Files
2026-05-18 13:51:33 +02:00

28 lines
1002 B
Bash

# Backend Configuration
PORT=3000
# REQUIRED. Long random string. Generate with `openssl rand -hex 32`.
# Used as the admin token; stored as an HttpOnly cookie after login.
ADMIN_TOKEN=
DATA_DIR=/app/data
# Cookie hardening. Default is true; set to false for local HTTP development
# only. In production with HTTPS, leave this true.
COOKIE_SECURE=true
# CORS allow-list. Leave empty unless you expose the backend directly to
# browsers. With the default Astro proxy setup, no CORS is needed.
FRONTEND_ORIGIN=
# Frontend Configuration
# URL of the backend API accessible from the frontend container.
PUBLIC_API_URL=http://backend:3000
# Presentation focus. Same skin either way (fonts, cybersigil/breakcore,
# paper grain, CyberFx). `atelier` = image-first gallery (justified plates,
# "plates" count). `blog` = writing-first (stacked rows, excerpt, reading
# time). Read server-side at render — no rebuild needed to switch.
# Anything other than `blog` falls back to atelier.
SITE_MODE=atelier