fuxking work pls
This commit is contained in:
+10
-2
@@ -6,11 +6,12 @@ DATABASE_URL=postgres://surprise:surprise_dev_password@localhost:5432/surprise?s
|
||||
# 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
|
||||
|
||||
# ── MinIO / Storage ──
|
||||
STORAGE_ENDPOINT=localhost:9000
|
||||
STORAGE_PUBLIC_ENDPOINT=
|
||||
STORAGE_ACCESS_KEY=minioadmin
|
||||
@@ -19,5 +20,12 @@ STORAGE_BUCKET=gallery-media
|
||||
STORAGE_USE_SSL=false
|
||||
MINIO_API_PORT=9000
|
||||
MINIO_CONSOLE_PORT=9001
|
||||
NGINX_PORT=8099
|
||||
|
||||
VITE_API_BASE_URL=http://localhost:8080
|
||||
# ── 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
|
||||
Reference in New Issue
Block a user