GTARH_Fonctionnel_V1

This commit is contained in:
2025-12-02 17:57:33 +01:00
parent 721c02759f
commit bbebf6f44a
96 changed files with 27158 additions and 0 deletions

46
docker-compose.yml Normal file
View File

@@ -0,0 +1,46 @@
version: '3.8' # ← AJOUTÉ (manquant !)
services:
backend:
build:
context: ./Backend
dockerfile: DockerFileGTARH.backend
container_name: gtarh-backend
ports:
- "8013:3000"
env_file:
- ./Backend/.env
environment:
- DB_HOST=192.168.0.3
- NODE_ENV=production
- PORT=3000
- COLLABORATEURS_URL=http://gtarh-backend:3000
- RH_URL=http://gtarh-backend:3000
- WEBHOOK_SECRET=secret-rh-2025
networks:
- gtarh-network
restart: unless-stopped
frontend:
build:
context: .
dockerfile: ./src/DockerFileGTARH.Frontend
args:
- VITE_API_URL=https://mygta-rh.ensup-adm.net:8013
container_name: gtarh-frontend
ports:
- "3014:3014"
environment:
- NODE_ENV=production
depends_on:
- backend
networks:
- gtarh-network
restart: unless-stopped
networks:
gtarh-network:
driver: bridge
volumes:
mysql-data:
driver: local