This commit is contained in:
2025-11-28 16:55:45 +01:00
parent f22979a44a
commit 881476122c
54 changed files with 7628 additions and 5654 deletions

View File

@@ -1,12 +1,44 @@
services:
frontend:
image: ouijdaneim/gta-frontend:latest
version: "3.8"
services:
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:
mariadb_default:
aliases:
- backend
- gta-backend
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:
mariadb_default:
aliases:
- frontend
- gta-frontend
depends_on:
- backend
restart: unless-stopped
backend:
image: ouijdaneim/gta-backend:latest
ports:
- "8000:80"
networks:
mariadb_default:
external: true