Levelrail
Skip to content

Self-host Kopia with Docker ​

Fast, incremental, encrypted backups to a repository, driven from a web UI instead of a cron script.

This page describes the Levelrail template for Kopia (Storage). It deploys the services below as one Docker Compose app on your own server.

Project site: https://kopia.io/docs/installation/#quick-setup-using-docker.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
kopiakopia/kopia:0.19.051515
kopia_repository -> /app/repository
kopia_config -> /app/config
kopia_cache -> /app/cache
kopia_logs -> /app/logs

Environment variables ​

ServiceVariableValue
kopiaKOPIA_PASSWORDGenerated at deploy
kopiaKOPIA_SERVER_PASSWORDGenerated at deploy
kopiaKOPIA_SERVER_USERNAMEPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Kopia with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Kopia. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy kopia --name my-kopia

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Storage templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.