Files
ayto/docker-compose.yml
2026-03-14 21:31:12 +01:00

21 lines
557 B
YAML

version: '3.8'
networks:
narl:
external: true
services:
ayto-calculator:
build: .
restart: unless-stopped
networks:
- narl
labels:
- "traefik.enable=true"
# Listen on the domain ayto.narl.io
- "traefik.http.routers.ayto.rule=Host(`ayto.narl.io`)"
- "traefik.http.routers.ayto.entrypoints=websecure"
- "traefik.http.routers.ayto.tls.certresolver=https_resolver"
# The Rust backend listens on port 8080 inside the container
- "traefik.http.services.ayto.loadbalancer.server.port=8080"