Replace docker-managed named volumes with ./data/ bind mounts in the ocis_full deployment example so persisted data is directly accessible on the host, and add a migrate-volumes.sh helper to copy existing named-volume data across for upgrading deployments. Signed-off-by: Lukas Hirt <info@hirt.cz>
document this deployment example in
| document this deployment example in |
|---|
| docs/ocis/deployment/ocis_full.md |
Infinite Scale WOPI Deployment Example
This deployment example is documented in two locations for different audiences:
-
In the Admin Documentation
Providing two variants using detailed configuration step by step guides:
Local Production Setup and Deploy Infinite Scale on the Hetzner Cloud.
Note that these examples use LetsEncrypt certificates and are intended for production use. -
In the Developer Documentation
Providing details which are more developer focused. This description can also be used when deviating from the default.
Note that this examples uses self signed certificates and is intended for testing purposes.
Data Storage
All persistent runtime data (oCIS config/data, S3 storage, database, virus
definitions, web app extensions, etc.) is bind-mounted from a ./data/
directory next to this compose project, rather than docker-managed named
volumes. The oCIS config/data paths can be redirected elsewhere via the
OCIS_CONFIG_DIR/OCIS_DATA_DIR variables in .env.
Upgrading an existing deployment that still has data in the old named
volumes? Run ./migrate-volumes.sh once, before starting the stack, to copy
data from the old volumes into the new ./data/ directories.
Optional Services
Keycloak
Keycloak can be optionally enabled by uncommenting the corresponding variables in the .env file:
KEYCLOAK=:keycloak.yml
Note that Keycloak requires the default ocis Identity Provider to be disabled, which is automatically handled when the keycloak.yml configuration is used.