🏗️」 wip: should be ready to prod

This commit is contained in:
2025-08-24 15:31:23 +02:00
parent 2942fccf0a
commit 27cdfa1644
10 changed files with 3249 additions and 47 deletions

View File

@ -0,0 +1,47 @@
name: ft_transcendence
include:
- ./volumes.yml
- ./networks.yml
- ./front/compose.yml
- ./proxy/compose.yml
- ./monitoring/compose.yml
- ./api-base/compose.yml
# - ./front/compose.yml
- ./ELK/compose.yml
services:
proxy:
container_name: transcendence-proxy
build:
dockerfile: docker/proxy/Dockerfile
context: ../
volumes:
- log-nginx:/var/log/front
environment:
- TZ=Europe/Paris
depends_on:
user-api:
condition: service_started
auth-api:
condition: service_started
networks:
- front
- traefik-back
restart: unless-stopped
healthcheck:
disable: true
labels:
- traefik.enable=true
- traefik.docker.network=traefik-back
- traefik.http.routers.trans.rule=Host(`trans.kanel.ovh`)
- traefik.http.routers.trans.entrypoints=websecure
- traefik.http.routers.trans.tls=true
- traefik.http.routers.trans.tls.certresolver=letsencrypt
- traefik.http.routers.trans.service=trans
- traefik.http.services.trans.loadbalancer.server.port=80
networks:
traefik-back:
external: true