Fix domain configuration for separate portal and API domains
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m59s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m59s
- Changed from single DOMAIN variable to PORTAL_DOMAIN and API_DOMAIN - Matches nginx config: portal.monacousa.org, api.monacousa.org, studio.monacousa.org - Updated docker-compose.yml to use correct domain variables with defaults - Updated setup.sh to validate both domain variables - Updated .env.example with separate domain configuration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,8 +11,14 @@
|
||||
# ============================================
|
||||
# DOMAIN CONFIGURATION (Required)
|
||||
# ============================================
|
||||
# Your domain name (without https://)
|
||||
DOMAIN=portal.monacousa.org
|
||||
# Portal domain (main web app)
|
||||
PORTAL_DOMAIN=portal.monacousa.org
|
||||
|
||||
# API domain (Supabase API gateway)
|
||||
API_DOMAIN=api.monacousa.org
|
||||
|
||||
# Studio domain (Supabase dashboard - optional)
|
||||
STUDIO_DOMAIN=studio.monacousa.org
|
||||
|
||||
# ============================================
|
||||
# DATABASE CONFIGURATION
|
||||
|
||||
Reference in New Issue
Block a user