Declare a quadlet file for an Ollama server
This commit is contained in:
parent
b010d90306
commit
40f24304ea
1 changed files with 13 additions and 0 deletions
13
.config/containers/systemd/ollama.container
Normal file
13
.config/containers/systemd/ollama.container
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=A local LLM server
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=ollama
|
||||||
|
Image=docker.io/ollama/ollama:latest
|
||||||
|
PublishPort=11434:11434
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=always
|
||||||
Loading…
Add table
Add a link
Reference in a new issue