Use a read-only root filesystem in service containers
This commit is contained in:
parent
0df3008fa0
commit
9ee480b959
2 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ ContainerName=ollama
|
|||
Image=docker.io/ollama/ollama:latest
|
||||
Network=ollama.network
|
||||
PublishPort=11434:11434
|
||||
ReadOnly=true
|
||||
Volume=%h/.local/share/ollama:/root/.ollama:ro,z
|
||||
# keep-sorted end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue