This commit is contained in:
2026-08-22 19:34:10 +02:00
parent ebdd41d965
commit 4e3c5b641e
8 changed files with 57 additions and 15 deletions
+7 -8
View File
@@ -1,11 +1,10 @@
DB_DRIVER=postgres
POSTGRES_DB=surprise
POSTGRES_USER=surprise
POSTGRES_PASSWORD=surprise_dev_password
POSTGRES_PORT=5432
DATABASE_URL=postgres://surprise:surprise_dev_password@localhost:5432/surprise?sslmode=disable
# ── SQLite (default for local dev) ──
DB_DRIVER=sqlite
SQLITE_PATH=./data/surprise.db
# ── Postgres (uncomment and set DB_DRIVER=postgres to use) ──
# DATABASE_URL=postgres://surprise:surprise_dev_password@localhost:5432/surprise?sslmode=disable
PORT=8080
CORS_ORIGIN=http://localhost:5173,http://127.0.0.1:5173
SESSION_SECRET=local-development-session-secret-change-me
@@ -20,4 +19,4 @@ STORAGE_USE_SSL=false
MINIO_API_PORT=9000
MINIO_CONSOLE_PORT=9001
VITE_API_BASE_URL=http://localhost:8080
VITE_API_BASE_URL=http://localhost:8080