add a config for heimdall
This commit is contained in:
parent
cad82fc7af
commit
81067ab2e8
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
version: "2"
|
||||
services:
|
||||
traefik:
|
||||
image: "traefik:v2.2"
|
||||
ports:
|
||||
- "443:443"
|
||||
volumes:
|
||||
- "./traefik.yaml:/etc/traefik/traefik.yaml:ro"
|
||||
- "./letsencrypt:/letsencrypt"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
restart: unless-stopped
|
||||
|
||||
heimdall:
|
||||
image: linuxserver/heimdall
|
||||
container_name: heimdall
|
||||
environment:
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
- TZ=Europe/Zurich
|
||||
volumes:
|
||||
- ./config:/config
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.heimdall.rule=Host(`heimdall.2li.ch`)"
|
||||
- "traefik.http.routers.heimdall.entrypoints=websecure"
|
||||
- "traefik.http.routers.heimdall.tls.certresolver=myresolver"
|
||||
- "traefik.http.routers.heimdall.middlewares=default-headers@file"
|
||||
restart: unless-stopped
|
|
@ -0,0 +1 @@
|
|||
../traefik.yaml
|
Reference in New Issue