Remove unused SQL queries and update email template handling

- Deleted multiple unused SQL query files from the cms-service.
- Refactored email template handling in the cms-service to improve clarity and maintainability.
- Updated environment variable loading in both cms-service and lms-service to use dotenvy for better configuration management.
- Added a new .env.dev file for local development with database and SMTP configurations.
- Set default value for `certificates_enabled` in the shared common models.
This commit is contained in:
2026-04-15 14:26:44 -04:00
parent d550babd8a
commit 6aa0b235c3
41 changed files with 121 additions and 1592 deletions
+13 -1
View File
@@ -17,14 +17,26 @@ services:
db:
ports:
- "5433:5432"
- "5432:5432"
studio:
ports:
- "3000:3000"
- "3001:3001"
env_file: .env.dev
environment:
- NEXT_PUBLIC_CMS_API_URL=http://localhost:3001
- NEXT_PUBLIC_LMS_API_URL=http://localhost:3002/lms-api
- NEXT_PUBLIC_STUDIO_DOMAIN=localhost
- NEXT_PUBLIC_LEARNING_DOMAIN=localhost
experience:
ports:
- "3003:3003"
- "3002:3002"
env_file: .env.dev
environment:
- NEXT_PUBLIC_CMS_API_URL=http://localhost:3001
- NEXT_PUBLIC_LMS_API_URL=http://localhost:3002/lms-api
- NEXT_PUBLIC_STUDIO_DOMAIN=localhost
- NEXT_PUBLIC_LEARNING_DOMAIN=localhost