duplicati/docker-compose.yml hinzugefügt
This commit is contained in:
18
duplicati/docker-compose.yml
Normal file
18
duplicati/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
services:
|
||||||
|
duplicati:
|
||||||
|
image: lscr.io/linuxserver/duplicati:latest
|
||||||
|
container_name: ${CONTAINER_NAME:-duplicati}
|
||||||
|
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
|
||||||
|
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" # Port for accessing the web interface
|
||||||
|
restart: ${RESTART_POLICY:-unless-stopped}
|
||||||
Reference in New Issue
Block a user