Files
docker-infrastructure/ocis/docker-compose.yml
T
poprhythm d186aec6e5 Switch ocis NAS share from SMB to NFS Docker named volume
Replace /mnt/nas_owncloud CIFS bind mount with nas_owncloud external
NFS volume (192.168.1.192:/mnt/user/owncloud). Removes dependency on
systemd CIFS automount units.
2026-03-01 14:56:25 +00:00

43 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
- 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