Advertisement
Guest User

Untitled

a guest
Nov 12th, 2024
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. services:
  2. open-webui:
  3. image: ghcr.io/open-webui/open-webui:main
  4. network_mode: "host"
  5. container_name: open-webui
  6. ports:
  7. - "3000:8080"
  8. environment:
  9. - OLLAMA_BASE_URL=http://127.0.0.1:11434
  10. volumes:
  11. - open-webui:/app/backend/data
  12. restart: unless-stopped
  13. runtime: nvidia
  14. deploy:
  15. resources:
  16. reservations:
  17. devices:
  18. - driver: nvidia
  19. count: all
  20. capabilities: [gpu]
  21.  
  22. volumes:
  23. open-webui:
  24.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement