set ollama restart policy to unless-stopped
This commit is contained in:
parent
03bf686de9
commit
1e94913684
|
@ -5,6 +5,7 @@ services:
|
||||||
# Begin Ollama service
|
# Begin Ollama service
|
||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:rocm
|
image: ollama/ollama:rocm
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
|
|
||||||
|
@ -28,4 +29,4 @@ services:
|
||||||
- ollama_data:/root/.ollama
|
- ollama_data:/root/.ollama
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ollama_data:
|
ollama_data:
|
||||||
|
|
|
@ -5,6 +5,7 @@ services:
|
||||||
# Begin Ollama service
|
# Begin Ollama service
|
||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -5,6 +5,7 @@ services:
|
||||||
# Begin Ollama service
|
# Begin Ollama service
|
||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 11434:11434
|
- 11434:11434
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue