1
0
Fork 0

set ollama restart policy to unless-stopped

This commit is contained in:
Massaki Archambault 2025-02-02 17:05:14 -05:00
parent 03bf686de9
commit 1e94913684
3 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,7 @@ services:
# Begin Ollama service
ollama:
image: ollama/ollama:rocm
restart: unless-stopped
ports:
- 11434:11434
@ -28,4 +29,4 @@ services:
- ollama_data:/root/.ollama
volumes:
ollama_data:
ollama_data:

View File

@ -5,6 +5,7 @@ services:
# Begin Ollama service
ollama:
image: ollama/ollama:latest
restart: unless-stopped
ports:
- 11434:11434
volumes:

View File

@ -5,6 +5,7 @@ services:
# Begin Ollama service
ollama:
image: ollama/ollama:latest
restart: unless-stopped
ports:
- 11434:11434