Compare commits
3 commits
664c187bcf
...
96090cb604
| Author | SHA1 | Date | |
|---|---|---|---|
| 96090cb604 | |||
| 2084a52b08 | |||
| b81057e26a |
3 changed files with 9 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ Description=A local LLM server
|
|||
AutoUpdate=registry
|
||||
ContainerName=ollama
|
||||
DropCapability=ALL
|
||||
Environment=OLLAMA_KEEP_ALIVE=10m
|
||||
Environment=OLLAMA_KEEP_ALIVE=30m
|
||||
HealthCmd=ollama list
|
||||
# HealthInterval=30s
|
||||
# HealthStartPeriod=15s
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ DropCapability=ALL
|
|||
Image=docker.io/plantuml/plantuml-server:jetty
|
||||
Network=private
|
||||
NoNewPrivileges=true
|
||||
PodmanArgs=--pull=newer --transient-store
|
||||
PodmanArgs=--cpus 1 --memory 1g --pull=newer --transient-store
|
||||
PublishPort=127.0.0.1:8080:8080
|
||||
ReadOnly=true
|
||||
# keep-sorted end
|
||||
|
|
@ -18,4 +18,8 @@ ReadOnly=true
|
|||
WantedBy=default.target
|
||||
|
||||
[Service]
|
||||
# keep-sorted start
|
||||
CPUQuota=100%
|
||||
MemoryMax=1G
|
||||
Restart=always
|
||||
# keep-sorted end
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ HealthCmd=curl --fail --silent http://localhost:9091/
|
|||
# HealthStartPeriod=30s
|
||||
Image=lscr.io/linuxserver/transmission:latest
|
||||
Network=private
|
||||
PodmanArgs=--pull=newer --transient-store
|
||||
PodmanArgs=--cpus 2 --memory 512m --pull=newer --transient-store
|
||||
PublishPort=127.0.0.1:9091:9091
|
||||
PublishPort=51413:51413
|
||||
PublishPort=51413:51413/udp
|
||||
|
|
@ -28,10 +28,12 @@ WantedBy=default.target
|
|||
|
||||
[Service]
|
||||
# keep-sorted start
|
||||
CPUQuota=200%
|
||||
ExecStartPre=mkdir --parents %h/.config/transmission
|
||||
ExecStartPre=mkdir --parents %h/Downloads/transmission
|
||||
ExecStartPre=mkdir --parents %h/Downloads/transmission/complete
|
||||
ExecStartPre=mkdir --parents %h/Downloads/transmission/incomplete
|
||||
ExecStartPre=mkdir --parents %h/Downloads/transmission/watch
|
||||
MemoryMax=512M
|
||||
Restart=always
|
||||
# keep-sorted end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue