upd: sync compose.yml and .env.example with all env vars in env.ts
Add missing required vars: API_KEY, MINIO_*, and optional REDIS_URL, BUN_PUBLIC_BASE_URL Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
21
compose.yml
21
compose.yml
@@ -4,17 +4,30 @@ services:
|
||||
container_name: monitoring-app-stg
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# App
|
||||
- PORT=${PORT:-3000}
|
||||
- NODE_ENV=${NODE_ENV:-production}
|
||||
- BUN_PUBLIC_BASE_URL=${BUN_PUBLIC_BASE_URL}
|
||||
# Database
|
||||
- DATABASE_URL=${DATABASE_URL}
|
||||
- DIRECT_URL=${DIRECT_URL}
|
||||
# Google OAuth
|
||||
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
|
||||
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
|
||||
# App
|
||||
- PORT=${PORT:-3000}
|
||||
- NODE_ENV=${NODE_ENV:-production}
|
||||
# Admin (initial Super Admin emails, comma-separated)
|
||||
# Super Admin
|
||||
- SUPER_ADMIN_EMAIL=${SUPER_ADMIN_EMAIL}
|
||||
# API Key
|
||||
- API_KEY=${API_KEY}
|
||||
# MinIO (object storage)
|
||||
- MINIO_ENDPOINT=${MINIO_ENDPOINT}
|
||||
- MINIO_PORT=${MINIO_PORT:-443}
|
||||
- MINIO_USE_SSL=${MINIO_USE_SSL:-true}
|
||||
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY}
|
||||
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY}
|
||||
- MINIO_BUCKET=${MINIO_BUCKET}
|
||||
- MINIO_UPLOAD_DIR=${MINIO_UPLOAD_DIR:-bug-reports}
|
||||
# Redis (optional — app logs feature)
|
||||
- REDIS_URL=${REDIS_URL:-}
|
||||
networks:
|
||||
- public-net
|
||||
- postgres-net-stg
|
||||
|
||||
Reference in New Issue
Block a user