initial commit
This commit is contained in:
commit
c5b775fa58
6 changed files with 107 additions and 0 deletions
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
services:
|
||||
betterbahn:
|
||||
image: betterbahn:latest
|
||||
build:
|
||||
context: ./src
|
||||
dockerfile: Dockerfile
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.betterbahn.entrypoints=websecure"
|
||||
- "traefik.http.routers.betterbahn.rule=Host(`${PUBLIC_DOMAIN}`)"
|
||||
- "traefik.http.routers.betterbahn.tls=true"
|
||||
- "traefik.http.routers.betterbahn.tls.certresolver=hetzner"
|
||||
- "traefik.http.routers.betterbahn.tls.domains[0].main=${TLS_DOMAIN}"
|
||||
- "traefik.http.routers.betterbahn.middlewares=secHeaders@file, autodetectContenttype@file, authentikProd@file"
|
||||
- "traefik.http.services.betterbahn.loadbalancer.server.port=3000" # set port the container listenes to
|
||||
- "traefik.http.services.betterbahn.loadbalancer.server.scheme=http"
|
Loading…
Add table
Add a link
Reference in a new issue