Memory-Limit auf 2G gesetzt, healtcheck eingebaut
This commit is contained in:
+10
-1
@@ -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
|
||||
@@ -22,4 +25,10 @@ services:
|
||||
- /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: {}
|
||||
|
||||
Reference in New Issue
Block a user