Skip to content

Commit b95a73e

Browse files
authored
chore: restructure
1 parent 6efa5fe commit b95a73e

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

examples/duplicati/docker-compose.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,26 @@ version: "3"
22

33
services:
44
duplicati:
5+
image: linuxserver/duplicati:latest
56
container_name: duplicati
7+
hostname: duplicati
68
entrypoint:
79
- /init
810
ports:
911
- 8200:8200 # MGMT UI
12+
expose:
13+
- 8200
1014
environment:
1115
- PUID=0
1216
- PGID=1000
1317
- TZ=Europe/Berlin
14-
hostname: duplicati
15-
image: linuxserver/duplicati:latest
18+
restart: unless-stopped
19+
volumes:
20+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/backups:/backups
21+
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/config:/config
22+
- /path/to/my/data/to/backup:/source # change this
23+
#networks:
24+
# - proxy
1625
#labels:
1726
# - com.centurylinklabs.watchtower.enable=false
1827
# - traefik.enable=true
@@ -21,8 +30,8 @@ services:
2130
# - traefik.docker.network=proxy
2231
# # Part for local lan services only
2332
# - traefik.http.routers.duplicati.middlewares=local-ipwhitelist@file
24-
restart: unless-stopped
25-
volumes:
26-
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/backups:/backups
27-
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/config:/config
28-
- /path/to/my/data/to/backup:/source # change this
33+
34+
#networks:
35+
# proxy:
36+
# external: true
37+

0 commit comments

Comments
 (0)