635a130f0b
Build and Push Docker Images / detect-changes (push) Successful in 11s
Build and Push Docker Images / build-auth-api (push) Successful in 1m0s
Build and Push Docker Images / build-employee-api (push) Successful in 1m2s
Build and Push Docker Images / build-transit-api (push) Successful in 1m1s
Build and Push Docker Images / build-error-log-api (push) Successful in 1m5s
Build and Push Docker Images / build-admin-ui (push) Successful in 1m13s
Build and Push Docker Images / build-monitoring-ui (push) Successful in 1m15s
Build and Push Docker Images / deploy-test-node (push) Successful in 3s
### Summary of Changes
1. Documentation Consolidation:
• Relocated the docs/ folder and all repository .md files (README.md, DEPLOYMENT.md, DOCKER_README.md,
DOMAINS_README.md, GETTING_STARTED.md, CI_CD_PORTAINER_GUIDE.md, ADMIN_DEPLOYMENT_SUMMARY.md,
SECURITY_PRIVATE_FILES.md, handoff.md, azure-project-plan.md, plus service-specific READMEs) into .
• Updated document links in README.md.
2. AI Agent Project Map:
• Created PROJECT_MAP.md in the project root containing complete architecture diagrams, service specs, ports, DB
schemas, environment variables, and developer workflows.
• Added PROJECT_MAP.md to .gitignore.
3. Monitoring UI & Infrastructure Integration:
• Added monitoring_ui service to docker-compose.yml (port 5175).
• Configured Gitea workflow docker-build.yml for monitoring_ui builds.
• Added CORS middleware headers in index.js.
• Added nginx.conf copy step in Dockerfile.
──────
### Recommended Commit Message
docs: consolidate project documentation into monitoring_ui and add agent project map
- Move all markdown documentation files and docs/ folder into monitoring_ui/docs/
- Update documentation hub index (monitoring_ui/docs/README.md) with relative paths
- Generate comprehensive AI agent reference map (PROJECT_MAP.md) in repository root
- Add PROJECT_MAP.md and monitoring_ui build output/env overrides to .gitignore
- Integrate monitoring_ui service into docker-compose.yml and Gitea CI workflow
- Configure CORS handling in employee_api for monitoring dashboard access
──────
### Alternative Short Commit Message
refactor(docs): move docs to monitoring_ui and create AI agent PROJECT_MAP.md
107 lines
3.6 KiB
YAML
107 lines
3.6 KiB
YAML
version: "3.9"
|
|
services:
|
|
error_log_api:
|
|
image: ${REGISTRY_HOST:-gitea.testinstance.nl}/${IMAGE_NAMESPACE:-sven/the-transit-project}/error_log_api:${IMAGE_TAG:-latest}
|
|
container_name: error_log_api
|
|
ports:
|
|
- "5003:5003"
|
|
environment:
|
|
PORT: 5003
|
|
PG_HOST: ${POSTGRES_HOST}
|
|
PG_PORT: ${POSTGRES_PORT}
|
|
PG_DB: ${POSTGRES_DB}
|
|
PG_USER: ${POSTGRES_USER_LOGGER}
|
|
PG_PASS: ${POSTGRES_PASSWORD_LOGGER}
|
|
ERROR_LOG_API_URL: ${ERROR_LOG_API_URL:-https://error.xtransit.testinstance.nl/error_log}
|
|
restart: unless-stopped
|
|
|
|
auth_api:
|
|
image: ${REGISTRY_HOST:-gitea.testinstance.nl}/${IMAGE_NAMESPACE:-sven/the-transit-project}/auth_api:${IMAGE_TAG:-latest}
|
|
container_name: auth_api
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
PORT: 5000
|
|
JWT_SECRET: ${JWT_SECRET}
|
|
PG_HOST: ${POSTGRES_HOST}
|
|
PG_PORT: ${POSTGRES_PORT}
|
|
PG_DB: ${POSTGRES_DB}
|
|
PG_USER: ${POSTGRES_USER_AUTH}
|
|
PG_PASS: ${POSTGRES_PASSWORD_AUTH}
|
|
ADMIN_USER_CODES: ${ADMIN_USER_CODES}
|
|
DEV_BYPASS: ${DEV_BYPASS:-0}
|
|
ERROR_LOG_API_URL: ${ERROR_LOG_API_URL:-https://error.xtransit.testinstance.nl/error_log}
|
|
depends_on:
|
|
- error_log_api
|
|
restart: unless-stopped
|
|
|
|
employee_api:
|
|
image: ${REGISTRY_HOST:-gitea.testinstance.nl}/${IMAGE_NAMESPACE:-sven/the-transit-project}/employee_api:${IMAGE_TAG:-latest}
|
|
container_name: employee_api
|
|
ports:
|
|
- "4000:4000"
|
|
environment:
|
|
PORT: 4000
|
|
PG_HOST: ${POSTGRES_HOST}
|
|
PG_PORT: ${POSTGRES_PORT}
|
|
PG_DB: ${POSTGRES_DB}
|
|
PG_USER: ${POSTGRES_USER_EMPLOYEE}
|
|
PG_PASS: ${POSTGRES_PASSWORD_EMPLOYEE}
|
|
ERROR_LOG_API_URL: ${ERROR_LOG_API_URL:-https://error.xtransit.testinstance.nl/error_log}
|
|
depends_on:
|
|
- error_log_api
|
|
restart: unless-stopped
|
|
|
|
transit_api:
|
|
image: ${REGISTRY_HOST:-gitea.testinstance.nl}/${IMAGE_NAMESPACE:-sven/the-transit-project}/transit_api:${IMAGE_TAG:-latest}
|
|
container_name: transit_api
|
|
ports:
|
|
- "5001:5001"
|
|
environment:
|
|
PORT: 5001
|
|
JWT_SECRET: ${JWT_SECRET}
|
|
PG_HOST: ${POSTGRES_HOST}
|
|
PG_PORT: ${POSTGRES_PORT}
|
|
PG_DB: ${POSTGRES_DB}
|
|
PG_USER: ${POSTGRES_USER_TRANSIT}
|
|
PG_PASS: ${POSTGRES_PASSWORD_TRANSIT}
|
|
DEV_MOCK: ${DEV_MOCK:-0}
|
|
ERROR_LOG_API_URL: ${ERROR_LOG_API_URL:-https://error.xtransit.testinstance.nl/error_log}
|
|
depends_on:
|
|
- error_log_api
|
|
restart: unless-stopped
|
|
|
|
admin_ui:
|
|
image: ${REGISTRY_HOST:-gitea.testinstance.nl}/${IMAGE_NAMESPACE:-sven/the-transit-project}/admin_ui:${IMAGE_TAG:-latest}
|
|
container_name: admin_ui
|
|
ports:
|
|
- "5174:80"
|
|
environment:
|
|
AUTH_API: ${AUTH_API}
|
|
TRANSIT_API: ${TRANSIT_API}
|
|
ERROR_LOG_API: ${ERROR_LOG_API:-https://error.xtransit.testinstance.nl}
|
|
depends_on:
|
|
- auth_api
|
|
- transit_api
|
|
- error_log_api
|
|
restart: unless-stopped
|
|
|
|
monitoring_ui:
|
|
image: ${REGISTRY_HOST:-gitea.testinstance.nl}/${IMAGE_NAMESPACE:-sven/the-transit-project}/monitoring_ui:${IMAGE_TAG:-latest}
|
|
container_name: monitoring_ui
|
|
ports:
|
|
- "5175:80"
|
|
environment:
|
|
AUTH_API: ${AUTH_API:-https://auth.xtransit.testinstance.nl}
|
|
EMPLOYEE_API: ${EMPLOYEE_API:-https://employees.xtransit.testinstance.nl}
|
|
TRANSIT_API: ${TRANSIT_API:-https://transit.xtransit.testinstance.nl}
|
|
ERROR_LOG_API: ${ERROR_LOG_API:-https://error.xtransit.testinstance.nl}
|
|
ADMIN_UI: ${ADMIN_UI:-https://admin.xtransit.testinstance.nl}
|
|
depends_on:
|
|
- auth_api
|
|
- employee_api
|
|
- transit_api
|
|
- error_log_api
|
|
- admin_ui
|
|
restart: unless-stopped
|