Files
wijtransferen/.env.example
T
2026-08-22 20:58:27 +02:00

31 lines
918 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
CORS_ORIGIN=http://localhost:5173,http://127.0.0.1:5173
SESSION_SECRET=local-development-session-secret-change-me
COOKIE_SECURE=false
# ── MinIO / Storage ──
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
NGINX_PORT=8099
# ── Frontend (when running dev, not behind the nginx proxy) ──
# VITE_API_BASE_URL=http://localhost:8080
# ── Production ──
# NPM points to the nginx container (sndit-nginx:8099) which proxies:
# /api/* → sndit-api:8080
# /* → sndit-frontend:80