Enables deploying f1-circuits as a HAL module on ace behind Traefik, serving track SVGs at f1-circuits.zurag.be.
21 lines
626 B
YAML
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
|