# Copy to .env and adjust. docker-compose reads this file automatically. # # Single-resource deployment: SQLite + local filesystem on one volume. # There is intentionally no DATABASE_URL or S3_* here — for those, use the # multi-resource ../docker-postgres/ template instead. # --- Server --- PORT=8080 # --- Data directory --- # DB file + blobs live here. Mapped to the "civility-data" volume in compose. DATA_DIR=/data # --- Admin panel --- # Comma-separated account emails granted operator access to /admin with their # normal dashboard sign-in. This is the browser path — set it to reach /admin. CIVILITY_ADMIN_EMAILS= # Optional: Bearer token for the /admin JSON API (scripts, CI, reverse proxies). # Not a browser login. Generate with: openssl rand -hex 32 CIVILITY_ADMIN_TOKEN= # --- Auth secret --- # Generate once with: openssl rand -hex 32 # Keep stable so existing sessions survive restarts. CIVILITY_AUTH_SECRET= # --- Email --- # Configured at runtime in the admin panel (/admin/email), not via env. # See ../../features/admin.md. Until configured, accounts are auto-verified # and reset/verification links are logged to the container console. # --- OpenTelemetry (optional) --- # See ../../features/observability.md for the full reference. # OTEL_DENO=true # OTEL_EXPORTER_OTLP_ENDPOINT=https://otel-collector.example.com:4318 # OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer # OTEL_SERVICE_NAME=civility