|
@@ -5,13 +5,13 @@ services:
|
|
|
- "11434:11434"
|
|
- "11434:11434"
|
|
|
volumes:
|
|
volumes:
|
|
|
- ollama:/root/.ollama
|
|
- ollama:/root/.ollama
|
|
|
- deploy:
|
|
|
|
|
- resources:
|
|
|
|
|
- reservations:
|
|
|
|
|
- devices:
|
|
|
|
|
- - driver: nvidia
|
|
|
|
|
- count: all
|
|
|
|
|
- capabilities: [gpu]
|
|
|
|
|
|
|
+# deploy:
|
|
|
|
|
+# resources:
|
|
|
|
|
+# reservations:
|
|
|
|
|
+# devices:
|
|
|
|
|
+# - driver: nvidia
|
|
|
|
|
+# count: all
|
|
|
|
|
+# capabilities: [gpu]
|
|
|
restart: always
|
|
restart: always
|
|
|
open-webui:
|
|
open-webui:
|
|
|
image: imroc/open-webui:latest
|
|
image: imroc/open-webui:latest
|
|
@@ -27,13 +27,13 @@ services:
|
|
|
- "host.docker.internal:host-gateway"
|
|
- "host.docker.internal:host-gateway"
|
|
|
# environment:
|
|
# environment:
|
|
|
# - WEBUI_SECRET_KEY= # optionnel mais recommandé en prod
|
|
# - WEBUI_SECRET_KEY= # optionnel mais recommandé en prod
|
|
|
- deploy:
|
|
|
|
|
- resources:
|
|
|
|
|
- reservations:
|
|
|
|
|
- devices:
|
|
|
|
|
- - driver: nvidia
|
|
|
|
|
- count: all
|
|
|
|
|
- capabilities: [gpu]
|
|
|
|
|
|
|
+# deploy:
|
|
|
|
|
+# resources:
|
|
|
|
|
+# reservations:
|
|
|
|
|
+# devices:
|
|
|
|
|
+# - driver: nvidia
|
|
|
|
|
+# count: all
|
|
|
|
|
+# capabilities: [gpu]
|
|
|
restart: always
|
|
restart: always
|
|
|
volumes:
|
|
volumes:
|
|
|
ollama:
|
|
ollama:
|