From b95a73e2e37db9b78f14029112692eec43ce9d31 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 30 Oct 2024 10:36:06 +0100 Subject: [PATCH] chore: restructure --- examples/duplicati/docker-compose.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/examples/duplicati/docker-compose.yml b/examples/duplicati/docker-compose.yml index 9440ebf..93d7d97 100644 --- a/examples/duplicati/docker-compose.yml +++ b/examples/duplicati/docker-compose.yml @@ -2,17 +2,26 @@ version: "3" 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 - hostname: duplicati - image: linuxserver/duplicati:latest + 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 @@ -21,8 +30,8 @@ services: # - traefik.docker.network=proxy # # Part for local lan services only # - traefik.http.routers.duplicati.middlewares=local-ipwhitelist@file - 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: +# external: true +