Restrict service container privileges
This commit is contained in:
parent
6ca9d88995
commit
e4b0e731d6
2 changed files with 4 additions and 0 deletions
|
|
@ -5,9 +5,11 @@ Description=A local LLM server
|
|||
# keep-sorted start
|
||||
AutoUpdate=registry
|
||||
ContainerName=ollama
|
||||
DropCapability=ALL
|
||||
Environment=OLLAMA_KEEP_ALIVE=10m
|
||||
Image=docker.io/ollama/ollama:latest
|
||||
Network=ollama.network
|
||||
NoNewPrivileges=true
|
||||
PodmanArgs=--transient-store
|
||||
PublishPort=11434:11434
|
||||
ReadOnly=true
|
||||
|
|
|
|||
|
|
@ -5,8 +5,10 @@ Description=A local PlantUML server
|
|||
# keep-sorted start
|
||||
AutoUpdate=registry
|
||||
ContainerName=plantuml
|
||||
DropCapability=ALL
|
||||
Image=docker.io/plantuml/plantuml-server:jetty
|
||||
Network=private
|
||||
NoNewPrivileges=true
|
||||
PodmanArgs=--transient-store
|
||||
PublishPort=8080:8080
|
||||
ReadOnly=true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue