Compose-Examples/examples/duplicati/docker-compose.yml

37 lines
1019 B
YAML
Raw Normal View History

2023-02-15 21:45:31 +00:00
services:
2023-02-15 21:45:31 +00:00
duplicati:
image: linuxserver/duplicati:latest
2023-02-15 21:45:31 +00:00
container_name: duplicati
hostname: duplicati
2023-02-15 21:45:31 +00:00
entrypoint:
- /init
ports:
- 8200:8200 # MGMT UI
2024-10-30 09:36:06 +00:00
expose:
- 8200
2023-02-15 21:45:31 +00:00
environment:
- PUID=0
- PGID=1000
- TZ=Europe/Berlin
2024-10-30 09:36:06 +00:00
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
2023-02-15 21:45:31 +00:00
#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
2024-10-30 09:36:06 +00:00
#networks:
# proxy:
# external: true