This commit is contained in:
2026-03-14 21:31:12 +01:00
commit 3c83dfb07e
9 changed files with 2375 additions and 0 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
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"