.gitignore | ||
docker-compose.yml | ||
README.md |
OwnCloud "Infinite Scale"
OCIS is an alternative to OwnCloud/NextCloud which comes with a much more limited feature-set, but eliminates the performance and (🤞) stability issues inherent to those legacy codebases due to their having been written in PHP. OCIS is written in Go and provides a singles static binary, which creates that strict barrier between application code and persistent data which has bitten me so many times.
First run
If you've just cloned this to a new machine, you have to bootstrap the service:
$ mkdir -p mounts/{config,data}
$ docker compose run init
Subsequent runs
The application requires nothing special, just a docker compose up
.
Documentation and some useful links
- OCIS homepage: https://owncloud.com/infinite-scale-4-0
- Docker deployment instructions: https://doc.owncloud.com/ocis/next/deployment/container/container-setup.html
- Rather complete example docker-compose file with Traefik+WOPI/CODE+search https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_traefik/docker-compose.yml
Backups
The service is running on retastokado, a 6TB ZFS mirrored pair at Scott's home.
It has limited upload speed. Sanoid is configured, via NixOS config, to keep 48
hourly, 14 daily, 3 monthly, and 1 yearly snapshot of the config (/etc/ocis
)
and data (/var/lib/ocis
) volumes. Adding another zpool at another location and
configuring Syncoid would provide a sound backup strategy.