23 lines
664 B
Bash
23 lines
664 B
Bash
# ── Postgres (default) ──
|
|
DB_DRIVER=postgres
|
|
DATABASE_URL=postgres://surprise:surprise_dev_password@localhost:5432/surprise?sslmode=disable
|
|
|
|
# ── SQLite (set DB_DRIVER=sqlite to use) ──
|
|
# SQLITE_PATH=./data/surprise.db
|
|
|
|
PORT=8080
|
|
API_URL=http://localhost:8080
|
|
CORS_ORIGIN=http://localhost:5173,http://127.0.0.1:5173
|
|
SESSION_SECRET=local-development-session-secret-change-me
|
|
COOKIE_SECURE=false
|
|
|
|
STORAGE_ENDPOINT=localhost:9000
|
|
STORAGE_PUBLIC_ENDPOINT=
|
|
STORAGE_ACCESS_KEY=minioadmin
|
|
STORAGE_SECRET_KEY=minioadmin
|
|
STORAGE_BUCKET=gallery-media
|
|
STORAGE_USE_SSL=false
|
|
MINIO_API_PORT=9000
|
|
MINIO_CONSOLE_PORT=9001
|
|
|
|
VITE_API_BASE_URL=http://localhost:8080 |