Deployment configuration for OwnCloud Infinite Scale
Find a file
2023-09-16 09:06:35 -04:00
.gitignore update .gitignore 2023-09-02 08:41:34 -04:00
docker-compose.yml Add Tika full-text search 2023-09-16 09:06:35 -04:00
README.md add a note about backups 2023-09-02 10:52:38 -04:00

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.

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.