add NFS volume to heimdall

This commit is contained in:
Andreas Zweili 2022-03-07 11:10:16 +01:00
parent 4bb1c78294
commit f8c9392339
1 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,7 @@ services:
- PGID=1001
- TZ=Europe/Zurich
volumes:
- ./config:/config
- heimdall:/config
labels:
- "traefik.enable=true"
- "traefik.http.routers.heimdall.rule=Host(`heimdall.2li.ch`)"
@ -27,3 +27,10 @@ services:
- "traefik.http.routers.heimdall.tls.certresolver=myresolver"
- "traefik.http.routers.heimdall.middlewares=default-headers@file"
restart: unless-stopped
volumes:
heimdall:
driver_opts:
type: "nfs"
o: "addr=10.7.89.108,nolock,soft,rw,vers=4.1"
device: ":/server_data/heimdall"