# Database — SQLite is the default (zero setup required). # Uncomment the Postgres line instead if you need Postgres for scale. DATABASE_URL=sqlite://data/happyview.db?mode=rwc # DATABASE_URL=postgres://happyview:happyview@postgres/happyview # POSTGRES_USER=happyview # POSTGRES_PASSWORD=happyview # POSTGRES_DB=happyview # HappyView PUBLIC_URL=http://127.0.0.1:3000 # REQUIRED: signs the dashboard/admin session cookie. Generate a random value of # at least 32 bytes, e.g. `openssl rand -base64 48`. If unset or insecure, the # server still starts but cookie-based login is disabled until you fix it. SESSION_SECRET= RELAY_URL=https://relay1.us-east.bsky.network PORT=3000 # Cloudflare Tunnel — exposes the backend via a public HTTPS URL. # Named tunnel (stable hostname): set CLOUDFLARE_TUNNEL_TOKEN from your # Cloudflare dashboard and update PUBLIC_URL to match. # Quick tunnel (random hostname): leave CLOUDFLARE_TUNNEL_TOKEN blank and # check `docker compose logs tunnel` for the *.trycloudflare.com URL. # CLOUDFLARE_TUNNEL_TOKEN= # Web dashboard WEB_HOSTNAME=0.0.0.0 API_URL=http://happyview:3000