feat: introduce CourseEditorLayout and AppHeader, add organization domain migration, and update Docker configurations and auth scripts

This commit is contained in:
2025-12-29 18:00:34 -03:00
parent 3a02ecb757
commit ad56d8a81c
30 changed files with 558 additions and 405 deletions
+16 -10
View File
@@ -16,10 +16,12 @@ services:
dockerfile: services/cms-service/Dockerfile
environment:
DATABASE_URL: postgresql://user:password@db:5432/openccb_cms
JWT_SECRET: openccb_secret_key_2025_production
ports:
- "3001:3001"
volumes:
- uploads_data:/app/uploads
env_file: .env
depends_on:
- db
@@ -29,8 +31,10 @@ services:
dockerfile: services/lms-service/Dockerfile
environment:
DATABASE_URL: postgresql://user:password@db:5432/openccb_lms
JWT_SECRET: openccb_secret_key_2025_production
ports:
- "3002:3002"
env_file: .env
depends_on:
- db
@@ -53,22 +57,24 @@ services:
NEXT_PUBLIC_LMS_API_URL: http://localhost:3002
whisper:
image: fedirz/faster-whisper-server:latest-cuda
image: fedirz/faster-whisper-server:latest-cpu
ports:
- "8000:8000"
volumes:
- whisper_cache:/root/.cache/huggingface
environment:
- WHISPER_MODEL=medium
- DEVICE=cuda
# - WHISPER_MODEL=medium
# - DEVICE=cpu
# GPU support commented out for stability if drivers missing
- DEVICE=cpu
# GPU support for RTX 2070 Super
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [ gpu ]
e2e:
build: