-
-
Notifications
You must be signed in to change notification settings - Fork 275
/
Copy pathdocker-compose.yml
38 lines (35 loc) · 1.16 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
duplicati:
image: linuxserver/duplicati:latest
container_name: duplicati
hostname: duplicati
entrypoint:
- /init
ports:
- 8200:8200 # MGMT UI
expose:
- 8200
environment:
- PUID=0
- PGID=1000
- TZ=Europe/Berlin
- SETTINGS_ENCRYPTION_KEY=PleaseChangeMeToSecureValue # <-- change this
- DUPLICATI__WEBSERVICE_PASSWORD=MySecureAdminPasswordForLogin # <-- change this
restart: unless-stopped
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/backups:/backups
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/config:/config
- /path/to/my/data/to/backup:/source # <-- change this
#networks:
# - proxy
#labels:
# - com.centurylinklabs.watchtower.enable=false
# - traefik.enable=true
# - traefik.http.routers.duplicati.rule=Host(`duplicati.example.com`)
# - traefik.http.services.duplicati.loadbalancer.server.port=8200
# - traefik.docker.network=proxy
# # Part for local lan services only
# - traefik.http.routers.duplicati.middlewares=local-ipwhitelist@file
#networks:
# proxy:
# external: true