chore: update environment config for CDN

- Add CDN_BASE_URL for direct image access
- Rename DEFAULT_ORG_ID → DEFAULT_ORG_SLUG
- Rename DEFAULT_PROJECT_ID → DEFAULT_PROJECT_SLUG

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Oleg Proskurin 2025-12-27 19:47:39 +07:00
parent d3fd574492
commit 3404743a84
1 changed files with 5 additions and 9 deletions

View File

@ -31,13 +31,9 @@ MINIO_BUCKET_NAME=banatie
MINIO_USE_SSL=false
STORAGE_TYPE=minio
# Public URL for CDN access (used in API responses)
MINIO_PUBLIC_URL=https://cdn.banatie.app
# Use direct CDN URLs instead of API proxy (recommended for production)
# Set to 'false' to force API URLs even when MINIO_PUBLIC_URL is configured
# Default: true (CDN enabled when MINIO_PUBLIC_URL is present)
USE_DIRECT_CDN=true
# CDN Base URL for image access
# Format: https://cdn.banatie.app/{orgSlug}/{projectSlug}/img/{imageId}
CDN_BASE_URL=https://cdn.banatie.app
# ----------------------------------------
# API Configuration
@ -57,6 +53,6 @@ CORS_ORIGIN=https://banatie.app,https://api.banatie.app
# ----------------------------------------
# Multi-tenancy Defaults
# ----------------------------------------
DEFAULT_ORG_ID=default
DEFAULT_PROJECT_ID=main
DEFAULT_ORG_SLUG=default
DEFAULT_PROJECT_SLUG=main
DEFAULT_USER_ID=system