fix syntax ollama composer
This commit is contained in:
parent
f5562eaafa
commit
36d5725a37
1 changed files with 1 additions and 5 deletions
|
|
@ -1,8 +1,5 @@
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
|
|
||||||
x-portainer: &project
|
|
||||||
project-name: ollama-stack
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ollama:
|
ollama:
|
||||||
image: ollama/ollama:0.3.12
|
image: ollama/ollama:0.3.12
|
||||||
|
|
@ -17,7 +14,6 @@ services:
|
||||||
- OLLAMA_NUM_PARALLEL=2
|
- OLLAMA_NUM_PARALLEL=2
|
||||||
shm_size: 8gb
|
shm_size: 8gb
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
<<: *project
|
|
||||||
|
|
||||||
open-webui:
|
open-webui:
|
||||||
image: ghcr.io/open-webui/open-webui:main
|
image: ghcr.io/open-webui/open-webui:main
|
||||||
|
|
@ -34,8 +30,8 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- ollama
|
- ollama
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
<<: *project
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
ollama_data:
|
ollama_data:
|
||||||
openwebui_data:
|
openwebui_data:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue