From 0543e7f31f0bd0c6c2cc754f579b1e6a4e0f4638 Mon Sep 17 00:00:00 2001 From: Manus Admin Date: Wed, 29 Apr 2026 01:30:42 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20mise=20=C3=A0=20jour=20dashboard=20-?= =?UTF-8?q?=20correction=20d=C3=A9ploiements=20orphelins,=20ajout=20factur?= =?UTF-8?q?ation-santinova,=20config=20compl=C3=A8te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++++ docker-compose.yml | 42 ++++++++++++++++++++++++++++++++++++++++++ src | 1 + 3 files changed, 47 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml create mode 160000 src 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