mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-21 07:42:09 +00:00
chore: restructure
This commit is contained in:
parent
6efa5fe68e
commit
b95a73e2e3
|
@ -2,17 +2,26 @@ version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
duplicati:
|
duplicati:
|
||||||
|
image: linuxserver/duplicati:latest
|
||||||
container_name: duplicati
|
container_name: duplicati
|
||||||
|
hostname: duplicati
|
||||||
entrypoint:
|
entrypoint:
|
||||||
- /init
|
- /init
|
||||||
ports:
|
ports:
|
||||||
- 8200:8200 # MGMT UI
|
- 8200:8200 # MGMT UI
|
||||||
|
expose:
|
||||||
|
- 8200
|
||||||
environment:
|
environment:
|
||||||
- PUID=0
|
- PUID=0
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
hostname: duplicati
|
restart: unless-stopped
|
||||||
image: linuxserver/duplicati:latest
|
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:
|
#labels:
|
||||||
# - com.centurylinklabs.watchtower.enable=false
|
# - com.centurylinklabs.watchtower.enable=false
|
||||||
# - traefik.enable=true
|
# - traefik.enable=true
|
||||||
|
@ -21,8 +30,8 @@ services:
|
||||||
# - traefik.docker.network=proxy
|
# - traefik.docker.network=proxy
|
||||||
# # Part for local lan services only
|
# # Part for local lan services only
|
||||||
# - traefik.http.routers.duplicati.middlewares=local-ipwhitelist@file
|
# - traefik.http.routers.duplicati.middlewares=local-ipwhitelist@file
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
#networks:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/backups:/backups
|
# proxy:
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/duplicati/config:/config
|
# external: true
|
||||||
- /path/to/my/data/to/backup:/source # change this
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user