18 lines
1.0 KiB
YAML
18 lines
1.0 KiB
YAML
services:
|
|
duplicati:
|
|
image: lscr.io/linuxserver/duplicati:latest
|
|
environment:
|
|
- PUID=${PUID:-1000} # Your User ID here! Find with 'id -u'
|
|
- PGID=${PGID:-1000} # Your Group ID here! Find with 'id -g'
|
|
- TZ=${TZ:-Europe/Berlin} # Your Timezone
|
|
- SETTINGS_ENCRYPTION_KEY=${ENCRYPTION_KEY} # Encryption key for settings (important!) - CHANGE THIS!
|
|
# - CLI_ARGS=${CLI_ARGS} # Optional: Extra command-line arguments
|
|
- DUPLICATI__WEBSERVICE_PASSWORD=${DEFAULT_UI_PW:-LetMeIn}
|
|
volumes:
|
|
- ${CONFIG_DIR:-./config}:/config # Where Duplicati stores its settings
|
|
- ${BACKUP_DIR:-./backups}:/backups # Where backups land (local, changeable!)
|
|
- ${DATA_DIR}:/source/data:ro # IMPORTANT: Map your data here!
|
|
#- /path/to/host/data2:/source/data2:ro # More data to back up
|
|
ports:
|
|
- "${HOST_PORT:-8200}:8200" # Port for accessing the web interface
|
|
restart: ${RESTART_POLICY:-unless-stopped} |