> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-host Duplicati with Docker

> Scheduled, encrypted backups of your files to local storage, network shares, or cloud storage.

Scheduled, encrypted backups of your files to local storage, network shares, or cloud storage.

This page describes the Levelrail template for Duplicati (Storage). It deploys the services below as one Docker Compose app on your own server. Project site: [https://duplicati.readthedocs.io](https://duplicati.readthedocs.io).

Recommended memory: about 512 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `duplicati` | `lscr.io/linuxserver/duplicati:2.4.0` | 8200 | `duplicati_config -&#62; /config`<br />`duplicati_backups -&#62; /backups` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `duplicati` | `DUPLICATI__WEBSERVICE_PASSWORD` | Generated at deploy |
| `duplicati` | `PGID` | Preset in the template |
| `duplicati` | `PUID` | Preset in the template |
| `duplicati` | `SETTINGS_ENCRYPTION_KEY` | Generated at deploy |
| `duplicati` | `TZ` | Preset 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 Duplicati with Levelrail

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

With the CLI:

```bash theme={"dark"}
levelrail-cli templates deploy duplicati --name my-duplicati
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Storage templates

* [Chibisafe](/self-host/chibisafe)
* [Cloudreve](/self-host/cloudreve)
* [copyparty](/self-host/copyparty)
* [File Browser](/self-host/filebrowser)
* [Kopia](/self-host/kopia)

All templates are listed in the [self-host gallery](/self-host).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.