Files
blog/.env.example
T

24 lines
987 B
Bash
Raw Normal View History

# Copy to .env and replace every placeholder. Never commit .env.
# --- Domains (Caddy) ---
PUBLIC_DOMAIN=blog.localhost
ACME_EMAIL=admin@example.com
2026-09-11 11:25:14 +02:00
# --- PocketBase ---
# Bootstraps (or updates, on restart) the initial superuser account — the
# only login the admin UI accepts. Pick a real password (10+ chars); never
# committed as anything but this placeholder.
POCKETBASE_ADMIN_EMAIL=admin@example.com
POCKETBASE_ADMIN_PASSWORD=change-me-1234
# --- Frontend ---
2026-09-11 11:25:14 +02:00
# Server-side only: internal Docker address of PocketBase.
POCKETBASE_URL=http://pocketbase:8090
# Public base URL of the website, used for canonical URLs and Open Graph.
PUBLIC_SITE_URL=https://blog.localhost
2026-09-11 11:25:14 +02:00
# Public base URL of PocketBase, used to build absolute cover-image URLs.
# Same origin as PUBLIC_SITE_URL: Caddy proxies /_/* and /api/* there (the
# admin UI is at PUBLIC_POCKETBASE_URL/_/, reachable from PUBLIC_SITE_URL/admin
# too — see caddy/Caddyfile).
PUBLIC_POCKETBASE_URL=https://blog.localhost