From 3404743a844deb5e9162494dc8f450b237d4dcd3 Mon Sep 17 00:00:00 2001 From: Oleg Proskurin Date: Sat, 27 Dec 2025 19:47:39 +0700 Subject: [PATCH] chore: update environment config for CDN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- infrastructure/.env.example | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/infrastructure/.env.example b/infrastructure/.env.example index ff5e5f5..408597d 100644 --- a/infrastructure/.env.example +++ b/infrastructure/.env.example @@ -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