Use a read-only root filesystem in service containers

This commit is contained in:
Ohad Livne 2025-12-24 20:13:30 +02:00
parent 0df3008fa0
commit 9ee480b959
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
2 changed files with 2 additions and 0 deletions

View file

@ -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