commit 0543e7f31f0bd0c6c2cc754f579b1e6a4e0f4638 Author: Manus Admin Date: Wed Apr 29 01:30:42 2026 +0200 chore: mise à jour dashboard - correction déploiements orphelins, ajout facturation-santinova, config complète diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..aa0926a --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/ +dist/ +.env +*.log diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..8feb276 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,42 @@ +services: + dashboard: + build: + context: ./src + dockerfile: Dockerfile + container_name: manus-dashboard + restart: unless-stopped + privileged: true + env_file: + - .env + environment: + - NODE_ENV=production + - PORT=3001 + - JWT_SECRET=${DASHBOARD_JWT_SECRET} + - ADMIN_USERNAME=${DASHBOARD_ADMIN_USERNAME} + - ADMIN_PASSWORD=${DASHBOARD_ADMIN_PASSWORD} + - GITEA_URL=${GITEA_URL} + - GITEA_USERNAME=${GITEA_USERNAME} + - GITEA_PASSWORD=${GITEA_PASSWORD} + - WEBHOOK_SECRET=${WEBHOOK_SECRET} + - APPS_BASE_PATH=${APPS_BASE_PATH} + - INFRA_BASE_PATH=${INFRA_BASE_PATH} + - HEALTH_CHECK_INTERVAL=${HEALTH_CHECK_INTERVAL} + volumes: + - /opt/manus-deploy/webhook-patched.js:/app/backend/src/webhook.js:ro + - /var/run/docker.sock:/var/run/docker.sock + - /opt/manus-deploy:/opt/manus-deploy + networks: + - web + labels: + - "traefik.enable=true" + - "traefik.http.routers.manus-dashboard.rule=Host(`dashboard.santinova-soft.org`)" + - "traefik.http.routers.manus-dashboard.entrypoints=websecure" + - "traefik.http.routers.manus-dashboard.tls=true" + - "traefik.http.routers.manus-dashboard.tls.certresolver=letsencrypt" + - "traefik.http.routers.manus-dashboard.service=manus-dashboard-svc" + - "traefik.http.routers.manus-dashboard.priority=100" + - "traefik.http.services.manus-dashboard-svc.loadbalancer.server.port=3001" + - "traefik.docker.network=web" +networks: + web: + external: true diff --git a/src b/src new file mode 160000 index 0000000..f1f3f93 --- /dev/null +++ b/src @@ -0,0 +1 @@ +Subproject commit f1f3f93befabe1cce72460ad9f3c3d127587bbcd