From 63a02613873ea4a664d9e3503d8e489bd4cc8225 Mon Sep 17 00:00:00 2001 From: sven Date: Sun, 25 Jan 2026 16:50:33 +0100 Subject: [PATCH] Memory-Limit auf 2G gesetzt, healtcheck eingebaut --- duplicati/compose.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/duplicati/compose.yaml b/duplicati/compose.yaml index 17bcb7d..8236d23 100755 --- a/duplicati/compose.yaml +++ b/duplicati/compose.yaml @@ -3,10 +3,13 @@ services: image: lscr.io/linuxserver/duplicati:latest container_name: duplicati restart: unless-stopped + labels: + - com.hanold.environment=production + - wud.watch=true deploy: resources: limits: - memory: 8G + memory: 2G environment: - PUID=1000 - PGID=1000 @@ -18,8 +21,14 @@ services: - ./config:/config - /media/openmediavault:/backups - /media:/source -# - /media/webdav:/webdav + # - /media/webdav:/webdav - /opt:/docker-opt ports: - 9200:8200 + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://localhost:8200"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 60s networks: {}