version: "3.9" services: backend: build: context: ./project/backend/ dockerfile: DockerfileGTF.backend ports: - "8000:3000" environment: - DB_SERVER=192.168.0.3 - DB_DATABASE=GTF - DB_USER=gtf_app - DB_PASSWORD=GTF2025!Secure - DB_ENCRYPT=true - DB_TRUST_SERVER_CERTIFICATE=true - PORT=3000 extra_hosts: - "BONEMINE:192.168.0.3" - "bonemine.ensup.local:192.168.0.3" frontend: build: context: ./project dockerfile: DockerfileGTF.frontend ports: - "3001:3001" volumes: # Monte le certificat généré sur l'hôte dans le conteneu - C:\Users\oimer\.aspnet\https:/https:ro environment: # Kestrel écoute en HTTP et HTTPS - ASPNETCORE_URLS=https://+:3001;http://+:3001 - ASPNETCORE_Kestrel__Certificates__Default__Password=tGTF2025 - ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx - VITE_API_BASE_URL=https://mygtf.ensup-adm.net:8000