mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-14 02:54:44 +02:00
36 lines
937 B
YAML
36 lines
937 B
YAML
services:
|
|
front:
|
|
container_name: transcendence-front
|
|
build:
|
|
dockerfile: docker/proxy/Dockerfile.prod
|
|
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
|