docker.recipes

ownCloud Infinite Scale

intermediate

ownCloud Infinite Scale modern cloud storage.

Overview

ownCloud Infinite Scale (oCIS) represents a complete architectural reimagining of the traditional ownCloud platform, built from the ground up as a cloud-native, microservices-based file sync and sharing solution. Unlike the monolithic PHP-based ownCloud Server, oCIS is written in Go and designed around modern distributed systems principles, offering significantly improved performance, scalability, and resource efficiency. The platform provides enterprise-grade file synchronization, collaboration tools, and secure sharing capabilities while maintaining compatibility with existing ownCloud clients and workflows. This Docker deployment leverages oCIS's containerized architecture to deliver a complete cloud storage platform in a single container. The microservices within oCIS communicate internally through gRPC and REST APIs, with the proxy service handling external HTTP requests and routing them to appropriate backend services like the storage provider, user management, and authentication services. The configuration utilizes oCIS's built-in identity management system and provides immediate access to features like WebDAV synchronization, web-based file management, and collaborative editing capabilities. This stack is ideal for organizations seeking modern cloud storage infrastructure without the complexity of traditional enterprise solutions, developers building applications requiring file storage APIs, and system administrators looking to migrate from legacy file sharing platforms. The Go-based architecture provides superior performance characteristics compared to PHP-based alternatives, while the microservices design enables horizontal scaling and easier maintenance in production environments.

Key Features

  • Microservices architecture with gRPC inter-service communication for improved performance and scalability
  • Built-in OpenID Connect provider with configurable user authentication and authorization
  • WebDAV protocol support for seamless integration with desktop and mobile sync clients
  • Integrated web interface with real-time collaboration features and file preview capabilities
  • S3-compatible storage backend options with support for multiple storage providers
  • WOPI integration for online document editing with supported office suites
  • RESTful APIs for custom application integration and third-party service connectivity
  • Event-driven architecture with configurable webhooks and notification systems

Common Use Cases

  • 1Small to medium businesses requiring secure file sharing and collaboration without vendor lock-in
  • 2Development teams needing private cloud storage with API integration for CI/CD workflows
  • 3Educational institutions implementing student and faculty file sharing with access controls
  • 4Remote organizations requiring centralized document management with offline synchronization
  • 5System integrators building custom applications that need enterprise file storage backends
  • 6IT departments migrating from legacy Dropbox or Google Drive deployments to self-hosted solutions
  • 7Startups requiring scalable file storage infrastructure that can grow with their user base

Prerequisites

  • Docker Engine 20.10+ and Docker Compose V2 for container orchestration support
  • Minimum 2GB RAM and 2 CPU cores for stable oCIS microservices operation
  • Available port 9200 for HTTPS web interface and API access
  • Valid SSL certificate or acceptance of self-signed certificate warnings in browsers
  • Understanding of OpenID Connect authentication flows for user management configuration
  • Basic knowledge of WebDAV protocols for client synchronization setup

For development & testing. Review security settings, change default credentials, and test thoroughly before production use. See Terms

docker-compose.yml

docker-compose.yml
1services:
2 ocis:
3 image: owncloud/ocis:latest
4 container_name: ocis
5 restart: unless-stopped
6 ports:
7 - "${OCIS_PORT:-9200}:9200"
8 environment:
9 - OCIS_URL=https://${OCIS_DOMAIN:-localhost}:9200
10 - PROXY_HTTP_ADDR=0.0.0.0:9200
11 - OCIS_INSECURE=true
12 - IDM_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
13 - OCIS_LOG_LEVEL=info
14 volumes:
15 - ocis_data:/var/lib/ocis
16 networks:
17 - ocis-network
18
19volumes:
20 ocis_data:
21
22networks:
23 ocis-network:
24 driver: bridge

.env Template

.env
1# ownCloud Infinite Scale
2OCIS_PORT=9200
3OCIS_DOMAIN=localhost
4ADMIN_PASSWORD=admin

Usage Notes

  1. 1oCIS at https://localhost:9200
  2. 2Accept self-signed cert warning
  3. 3Login: admin/admin
  4. 4Modern rewrite of ownCloud

Quick Start

terminal
1# 1. Create the compose file
2cat > docker-compose.yml << 'EOF'
3services:
4 ocis:
5 image: owncloud/ocis:latest
6 container_name: ocis
7 restart: unless-stopped
8 ports:
9 - "${OCIS_PORT:-9200}:9200"
10 environment:
11 - OCIS_URL=https://${OCIS_DOMAIN:-localhost}:9200
12 - PROXY_HTTP_ADDR=0.0.0.0:9200
13 - OCIS_INSECURE=true
14 - IDM_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
15 - OCIS_LOG_LEVEL=info
16 volumes:
17 - ocis_data:/var/lib/ocis
18 networks:
19 - ocis-network
20
21volumes:
22 ocis_data:
23
24networks:
25 ocis-network:
26 driver: bridge
27EOF
28
29# 2. Create the .env file
30cat > .env << 'EOF'
31# ownCloud Infinite Scale
32OCIS_PORT=9200
33OCIS_DOMAIN=localhost
34ADMIN_PASSWORD=admin
35EOF
36
37# 3. Start the services
38docker compose up -d
39
40# 4. View logs
41docker compose logs -f

One-Liner

Run this command to download and set up the recipe in one step:

terminal
1curl -fsSL https://docker.recipes/api/recipes/owncloud-infinite-scale/run | bash

Troubleshooting

  • Certificate warnings in browser: Set OCIS_INSECURE=false and configure proper TLS certificates with valid domain names
  • Admin login fails with default credentials: Check ADMIN_PASSWORD environment variable is properly set and container has restarted
  • Port 9200 connection refused: Verify port is not in use by other services and firewall allows inbound connections
  • File uploads failing or timing out: Increase Docker container memory limits and check available disk space for ocis_data volume
  • WebDAV sync clients cannot connect: Ensure OCIS_URL matches the actual domain/IP clients use to access the service
  • Microservices startup errors in logs: Check that all required environment variables are set and container has sufficient resources allocated

Community Notes

Loading...
Loading notes...

Download Recipe Kit

Get all files in a ready-to-deploy package

Includes docker-compose.yml, .env template, README, and license

Ad Space