This commit is contained in:
2026-06-17 00:21:00 +02:00
commit 408e48c568
41 changed files with 6617 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# ── Postgres ────────────────────────────────────────────────
POSTGRES_USER=shoplist
POSTGRES_PASSWORD=change_me_in_prod
POSTGRES_DB=shoplist
# ── Backend ─────────────────────────────────────────────────
# DATABASE_URL is built from the values above inside docker-compose.
DATABASE_URL=postgres://shoplist:change_me_in_prod@localhost:5432/shoplist
BACKEND_HOST=0.0.0.0
BACKEND_PORT=8080
# 64+ hex chars. Generate: openssl rand -hex 32
SESSION_SECRET=please_generate_a_long_random_secret_at_least_64_chars_xxxxxxxxxx
# Public URL of the frontend, used to build verification/reset links.
PUBLIC_APP_URL=http://localhost:5173
# Comma-separated allowed CORS origins.
CORS_ORIGINS=http://localhost:5173
# ── SMTP (mail notifications + verification) ────────────────
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=postmaster@example.com
SMTP_PASSWORD=change_me
SMTP_FROM="Shopping List <no-reply@example.com>"
# starttls | tls | none (none = dev only)
SMTP_SECURITY=starttls
# ── Frontend ────────────────────────────────────────────────
# Where the SvelteKit app reaches the backend (server-side).
PUBLIC_API_BASE=http://localhost:8080