Reapply "V1_Fonctionnel_GTAV1_GTA"

This reverts commit 244db6bfb6.
This commit is contained in:
2025-12-02 18:04:52 +01:00
parent 6f75a66906
commit 89d74363f8
55 changed files with 7567 additions and 5819 deletions

View File

@@ -1,12 +1,36 @@
services:
frontend:
image: ouijdaneim/gta-frontend:latest
backend:
build:
context: ./project/public/Backend
dockerfile: DockerfileGTA.backend
container_name: gta-backend
hostname: backend
ports:
- "3000:80"
- "8012:3000"
volumes:
- ./project/public/Backend/uploads:/app/uploads
networks:
- gta-network
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
frontend:
build:
context: ./project
dockerfile: DockerfileGTA.frontend
container_name: gta-frontend
hostname: frontend
ports:
- "3013:80"
environment:
- VITE_API_URL=http://backend:3000
networks:
- gta-network
depends_on:
- backend
restart: unless-stopped
backend:
image: ouijdaneim/gta-backend:latest
ports:
- "8000:80"
networks:
gta-network:
driver: bridge