Fix ocis: replace Docker NFS volume with systemd automount bind mount
Same pattern as calibre fix — Docker NFS named volumes with soft mount fail when unRAID drives spin down. Use systemd NFS automount at /mnt/nas_owncloud instead; hard mount blocks on spin-up rather than EIO.
This commit is contained in:
@@ -26,17 +26,13 @@ services:
|
||||
- PROXY_CSP_CONFIG_FILE_LOCATION=/etc/ocis/csp.yaml
|
||||
volumes:
|
||||
- /srv/ocis/data:/var/lib/ocis
|
||||
- nas_owncloud:/var/lib/ocis/storage/users
|
||||
- /mnt/nas_owncloud:/var/lib/ocis/storage/users
|
||||
- /srv/ocis/config:/etc/ocis
|
||||
ports:
|
||||
- 9200:9200
|
||||
networks:
|
||||
- npm-network
|
||||
|
||||
volumes:
|
||||
nas_owncloud:
|
||||
external: true
|
||||
|
||||
networks:
|
||||
npm-network:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user