Files
poprhythm 9a9d0562ae 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.
2026-03-02 03:59:43 +00:00

39 lines
1.1 KiB
YAML

services:
ocis:
image: owncloud/ocis:latest
container_name: ocis
restart: unless-stopped
entrypoint:
- /bin/sh
command:
- "-c"
- "echo 'no' | ocis init || true; exec ocis server"
environment:
- TZ=America/New_York
- OCIS_URL=https://cloud.kolpacksoftware.com
- PROXY_TLS=false
- PROXY_HTTP_ADDR=0.0.0.0:9200
- OCIS_OIDC_ISSUER=https://auth.kolpacksoftware.com
- WEB_OIDC_CLIENT_ID=ocis
- PROXY_OIDC_REWRITE_WELLKNOWN=true
- PROXY_OIDC_ACCESS_TOKEN_VERIFY_METHOD=none
- PROXY_USER_OIDC_CLAIM=preferred_username
- PROXY_AUTOPROVISION_ACCOUNTS=true
- OCIS_EXCLUDE_RUN_SERVICES=idp
- OCIS_LOG_LEVEL=warn
- DEMO_USERS=false
- OCIS_ADMIN_USER_ID=2e7e8fed-7de6-44d6-bc12-772599b711e4
- PROXY_CSP_CONFIG_FILE_LOCATION=/etc/ocis/csp.yaml
volumes:
- /srv/ocis/data:/var/lib/ocis
- /mnt/nas_owncloud:/var/lib/ocis/storage/users
- /srv/ocis/config:/etc/ocis
ports:
- 9200:9200
networks:
- npm-network
networks:
npm-network:
external: true