add NFS volume to grav
This commit is contained in:
parent
cfc16150ce
commit
7b33ee8a35
|
@ -16,7 +16,7 @@ services:
|
|||
environment:
|
||||
VIRTUAL_HOST: www.2li.ch
|
||||
volumes:
|
||||
- ./data:/usr/html
|
||||
- grav:/usr/html
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
restart: unless-stopped
|
||||
|
@ -27,3 +27,10 @@ services:
|
|||
- "traefik.http.routers.grav.tls.certresolver=myresolver"
|
||||
- "traefik.http.services.grav.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.grav.middlewares=default-headers@file"
|
||||
|
||||
volumes:
|
||||
grav:
|
||||
driver_opts:
|
||||
type: "nfs"
|
||||
o: "addr=10.7.89.108,nolock,soft,rw,vers=4.1"
|
||||
device: ":/server_data/grav"
|
||||
|
|
Reference in New Issue