20 lines
611 B
YAML
20 lines
611 B
YAML
services:
|
|
duplicati:
|
|
image: lscr.io/linuxserver/duplicati:latest
|
|
container_name: duplicati
|
|
restart: unless-stopped
|
|
environment:
|
|
# for backing up files that only root can access
|
|
- PUID=0
|
|
- PGID=0
|
|
- TZ=America/New_York
|
|
- SETTINGS_ENCRYPTION_KEY=<the secret>
|
|
#- CLI_ARGS= #optional
|
|
#- DUPLICATI__WEBSERVICE_PASSWORD= #optional
|
|
volumes:
|
|
- ./config:/config
|
|
- ./backups:/backups
|
|
- </path/to/files/to/back>:/source
|
|
ports:
|
|
- 8200:8200
|