services: ocis: image: owncloud/ocis:latest container_name: ocis restart: unless-stopped entrypoint: - /bin/sh command: - -c - "ocis init || true; ocis server" environment: # The public URL of your OCIS instance OCIS_URL: https://ocis.rn.ilboo.com # Disable SSL between Caddy and OCIS inside the internal Docker network PROXY_TLS: "false" # Tell the OCIS proxy to bind to HTTP on port 9200 PROXY_HTTP_ADDR: 0.0.0.0:9200 # Bypass secure connection requirements for internal container routing OCIS_INSECURE: "true" # Define your initial admin password (only applies on first initialization) IDM_ADMIN_PASSWORD: "ReplaceWithYourSecurePassword" OCIS_LOG_LEVEL: error volumes: - ocis_config:/etc/ocis - ocis_data:/var/lib/ocis networks: - caddy_net volumes: ocis_config: ocis_data: networks: caddy_net: external: true