Support health checks for the services
This commit is contained in:
parent
7be6bccbc9
commit
bebbefcda7
2 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ AutoUpdate=registry
|
|||
ContainerName=ollama
|
||||
DropCapability=ALL
|
||||
Environment=OLLAMA_KEEP_ALIVE=10m
|
||||
HealthCmd=ollama list
|
||||
# HealthInterval=30s
|
||||
# HealthStartPeriod=15s
|
||||
Image=docker.io/ollama/ollama:latest
|
||||
Network=ollama.network
|
||||
NoNewPrivileges=true
|
||||
|
|
|
|||
|
|
@ -7,6 +7,9 @@ AutoUpdate=registry
|
|||
ContainerName=transmission
|
||||
Environment=PGID=1000
|
||||
Environment=PUID=1000
|
||||
HealthCmd=curl --fail --silent http://localhost:9091/
|
||||
# HealthInterval=30s
|
||||
# HealthStartPeriod=30s
|
||||
Image=lscr.io/linuxserver/transmission:latest
|
||||
Network=private
|
||||
PodmanArgs=--pull=newer --transient-store
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue