init
This commit is contained in:
20
docker-compose.yml
Normal file
20
docker-compose.yml
Normal 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"
|
||||
Reference in New Issue
Block a user