Switch to duplicati/duplicati Docker image
All checks were successful
Deploy / Deploy (push) Successful in 15s
All checks were successful
Deploy / Deploy (push) Successful in 15s
This commit is contained in:
42
compose.yml
42
compose.yml
@@ -1,22 +1,21 @@
|
||||
services:
|
||||
duplicati:
|
||||
image: lscr.io/linuxserver/duplicati:latest
|
||||
container_name: duplicati
|
||||
image: duplicati/duplicati:2.2.0.3
|
||||
user: 2011:2011 # duplicati:duplicati
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=2011 # duplicati
|
||||
- PGID=2011 # duplicati
|
||||
- TZ=GB
|
||||
- FILE__SETTINGS_ENCRYPTION_KEY=/run/secrets/settings_encryption_key
|
||||
depends_on:
|
||||
init:
|
||||
condition: service_completed_successfully
|
||||
restart: true
|
||||
env_file: ./.env
|
||||
networks:
|
||||
- duplicati_network
|
||||
secrets:
|
||||
- settings_encryption_key
|
||||
ports:
|
||||
- 8200:8200 # Web UI
|
||||
volumes:
|
||||
- ./config:/config:rw
|
||||
- ./source:/source:rw
|
||||
# Data and backup destination
|
||||
- data:/data:rw
|
||||
- source:/source:rw
|
||||
- /mnt/duplicati_backup_1/backups:/backups:rw
|
||||
# Sources
|
||||
- /services/syncthing/data/Contacts:/source/Contacts:ro
|
||||
@@ -24,11 +23,26 @@ services:
|
||||
- /services/syncthing/data/Obsidian:/source/Obsidian:ro
|
||||
- /services/syncthing/data/SMS:/source/SMS:ro
|
||||
|
||||
init:
|
||||
image: busybox:1.37.0
|
||||
user: root:root
|
||||
command: /init.sh
|
||||
restart: no
|
||||
network_mode: none
|
||||
volumes:
|
||||
- ./init.sh:/init.sh:ro
|
||||
# Used for resolving user and group names in the init script
|
||||
- /etc/passwd:/etc/passwd:ro
|
||||
- /etc/group:/etc/group:ro
|
||||
# Mount all named volumes so they can be initialised
|
||||
- data:/data:rw
|
||||
- source:/source:rw
|
||||
|
||||
networks:
|
||||
duplicati_network:
|
||||
name: duplicati_network
|
||||
|
||||
secrets:
|
||||
settings_encryption_key:
|
||||
file: ./settings_encryption_key.bin
|
||||
volumes:
|
||||
data:
|
||||
source:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user