# Self-host ownCloud Infinite Scale

> File sync and share platform in one binary with spaces, search and a modern web UI. Initializes its own config and a generated admin password on first start.

- Page: https://levelrail.com/templates/ocis/
- JSON: https://levelrail.com/templates/ocis.json
- Category: Storage
- Licence: Apache-2.0 (Permissive license)
- Source: https://github.com/owncloud/ocis
- Upstream docs: https://doc.owncloud.com/ocis/next/

## Requirements
- Memory: about 512 MiB
- amd64: unknown, arm64: unknown
- Needs configuration before start: no
- Pinned image tag: 8.2.3

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| ocis | owncloud/ocis | 8.2.3 | 9200 | config -> /etc/ocis; data -> /var/lib/ocis |

## Environment

| Service | Variable | Kind |
| --- | --- | --- |
| ocis | IDM_ADMIN_PASSWORD | generated |
| ocis | OCIS_INSECURE | preset |
| ocis | OCIS_URL | preset |
| ocis | PROXY_HTTP_ADDR | preset |
| ocis | PROXY_TLS | preset |

## Deploy

### CLI

```bash
levelrail-cli templates install ocis --name my-ocis
```

Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain ocis=app.example.com.

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  https://levelrail.example.com/api/v1/service-templates/ocis/install \
  -d '{
    "name": "my-ocis"
  }'
```

Create a token in the dashboard first. Name, env and domains are the request fields.

## First run
1. Sign in as admin with the generated password shown in the deployment variables. Set the public URL setting to the address you serve it on before first use.

## Questions

### Can I deploy ownCloud Infinite Scale on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for ownCloud Infinite Scale, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image owncloud/ocis:8.2.3 is what you deploy there.

Self-host ownCloud Infinite Scale, ownCloud Infinite Scale docker compose file, deploy ownCloud Infinite Scale on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
