Files
f1-circuits/service/docker-compose.yml
T
jschoubben 9faf9f4041 Add HAL module structure for deployment as CDN service
Enables deploying f1-circuits as a HAL module on ace behind Traefik,
serving track SVGs at f1-circuits.zurag.be.
2026-05-06 21:31:37 +02:00

21 lines
626 B
YAML

services:
f1-circuits:
image: registry-api.novox.be/novox/f1-circuits:latest
container_name: f1-circuits
restart: unless-stopped
volumes:
- ./cache:/app/cache
labels:
traefik.enable: "true"
traefik.http.routers.f1-circuits.rule: "Host(`f1-circuits.${DOMAIN:-localhost}`)"
traefik.http.routers.f1-circuits.entrypoints: websecure
traefik.http.routers.f1-circuits.tls.certresolver: le
traefik.http.services.f1-circuits.loadbalancer.server.port: "8000"
# CDN cache headers are set by the app itself
networks:
- proxy
networks:
proxy:
external: true