compose/open-webui/docker-compose.yml

15 lines
530 B
YAML
Raw Normal View History

2024-10-04 02:28:08 -03:00
services:
# Eventually once on server with good gpu, use ollama instead of localhost
open-webui:
image: ghcr.io/open-webui/open-webui:dev
container_name: open-webui
volumes:
- /docker/appdata/open-webui/data:/app/backend/data
ports:
- 9009:8080
environment:
2024-10-04 02:34:46 -03:00
- 'OLLAMA_BASE_URL=http://192.168.2.128:11434'
2024-10-04 02:28:08 -03:00
# - 'WEBUI_SECRET_KEY=' Set this for jwt secret key. Should be rendomly generated at start
2024-10-04 02:33:58 -03:00
extra_hosts:
- host.docker.internal:host-gateway
2024-10-04 02:28:08 -03:00
restart: unless-stopped