# Banatie Production Environment Variables # ========================================== # Copy this file to .env and fill in the values # # Location on VPS: /opt/banatie/.env # Last Updated: December 23, 2025 # ---------------------------------------- # Node.js Configuration # ---------------------------------------- NODE_ENV=production PORT=3000 # ---------------------------------------- # PostgreSQL Database # ---------------------------------------- POSTGRES_DB=banatie_db POSTGRES_USER=banatie_user # Note: POSTGRES_PASSWORD is in secrets.env # DATABASE_URL for application use # IMPORTANT: URL-encode special characters (e.g., = → %3D, @ → %40) # Example: DATABASE_URL=postgresql://banatie_user:MyP%3Dssword@banatie-postgres:5432/banatie_db DATABASE_URL=postgresql://banatie_user:@banatie-postgres:5432/banatie_db # ---------------------------------------- # MinIO Object Storage # ---------------------------------------- MINIO_ENDPOINT=banatie-minio:9000 MINIO_BUCKET_NAME=banatie MINIO_USE_SSL=false STORAGE_TYPE=minio # CDN Base URL for image access # Format: https://cdn.banatie.app/{orgSlug}/{projectSlug}/img/{imageId} CDN_BASE_URL=https://cdn.banatie.app # ---------------------------------------- # API Configuration # ---------------------------------------- API_BASE_URL=https://api.banatie.app API_PUBLIC_URL=https://api.banatie.app # IMPORTANT: This must be set for Next.js client-side code NEXT_PUBLIC_API_URL=https://api.banatie.app # ---------------------------------------- # CORS Configuration # ---------------------------------------- # Comma-separated list of allowed origins CORS_ORIGIN=https://banatie.app,https://api.banatie.app # ---------------------------------------- # Multi-tenancy Defaults # ---------------------------------------- DEFAULT_ORG_SLUG=default DEFAULT_PROJECT_SLUG=main DEFAULT_USER_ID=system