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
|
- PROXY_CSP_CONFIG_FILE_LOCATION=/etc/ocis/csp.yaml
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/ocis/data:/var/lib/ocis
|
- /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
|
- /srv/ocis/config:/etc/ocis
|
||||||
ports:
|
ports:
|
||||||
- 9200:9200
|
- 9200:9200
|
||||||
networks:
|
networks:
|
||||||
- npm-network
|
- npm-network
|
||||||
|
|
||||||
volumes:
|
|
||||||
nas_owncloud:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
npm-network:
|
npm-network:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user