refactor: Use environment variables for API URLs in docker-compose
- Move NEXT_PUBLIC_CMS_API_URL and NEXT_PUBLIC_LMS_API_URL to .env
- Update docker-compose.yml to use ${VAR} syntax instead of hardcoded URLs
- Add default HTTPS URLs in .env.example for production
- Keeps install.sh with localhost defaults for development
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -61,3 +61,8 @@ DEFAULT_FAVICON_URL=""
|
||||
DEFAULT_PRIMARY_COLOR="#3B82F6"
|
||||
DEFAULT_SECONDARY_COLOR="#8B5CF6"
|
||||
|
||||
# Frontend API URLs (Producción)
|
||||
# Estas URLs se usan para el build del frontend y deben apuntar a los dominios públicos
|
||||
NEXT_PUBLIC_CMS_API_URL=https://studio.norteamericano.com
|
||||
NEXT_PUBLIC_LMS_API_URL=https://learning.norteamericano.com
|
||||
|
||||
|
||||
Reference in New Issue
Block a user