feat: Implement environment-aware AI service URL configuration, update web build settings, refine Docker Compose networking, and improve the installation script.

This commit is contained in:
2026-02-24 10:59:09 -03:00
parent 04dbe05704
commit 34a1f1c77d
8 changed files with 97 additions and 26 deletions
+6
View File
@@ -14,8 +14,11 @@ services:
build:
context: .
dockerfile: web/studio/Dockerfile
network: host
args:
NEXT_PUBLIC_CMS_API_URL: ${NEXT_PUBLIC_CMS_API_URL:-http://localhost:3001}
dns:
- 8.8.8.8
ports:
- "3000:3000"
- "3001:3001"
@@ -37,9 +40,12 @@ services:
build:
context: .
dockerfile: web/experience/Dockerfile
network: host
args:
NEXT_PUBLIC_LMS_API_URL: ${NEXT_PUBLIC_LMS_API_URL:-http://localhost:3002}
NEXT_PUBLIC_CMS_API_URL: ${NEXT_PUBLIC_CMS_API_URL:-http://localhost:3001}
dns:
- 8.8.8.8
ports:
- "3003:3003"
- "3002:3002"