version: '3.8'
services:
ollama:
image: ollama/ollama
container_name: ollama
ports:
- '11434:11434'
volumes:
- /home/ollama:/root/.ollama
restart: unless-stopped
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
ports:
- '8282:8080'
extra_hosts:
- 'host.docker.internal:host-gateway'
volumes:
- open-webui:/app/backend/data
restart: unless-stopped
volumes:
open-webui:
Associated Context | |
---|---|
Type | Code Snippet ( .yaml ) |
Associated Tags | Version 3 8 Ollama Image Container Name Ports Volumes Restart Open WebUI Docker Internal Host Gateway Cloud Backend Data |
💡 Smart Description | This code snippet is a configuration file that sets up services for an Ollama application. It specifies the image, container name, ports, volumes, and restarts when running or not. The open-webui service uses Docker API to create |
🔎 Suggested Searches | Kubernetes services for ollama and open-webui |
Related Links | https://www.geeksforgeeks.org/ https://www.geeksforgeeks.org/data-structures/linked-list/ https://kubernetes.io/docs/concepts/services-networking/service/ https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/ https://kubernetes.io/docs/concepts/workloads/controllers/deployment/ |
Related People | Davide Ladisa |
Sensitive Information | No Sensitive Information Detected |
Shareable Link | https://davideladisa.pieces.cloud/?p=6499458a42 |