mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-02-28 03:30:37 +00:00
feat(docker-compose.yml): add open-webui service to docker-compose file
This commit is contained in:
26
local_servers/docker-compose.yml
Normal file
26
local_servers/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
open-webui:
|
||||
image: ghcr.io/open-webui/open-webui:main
|
||||
|
||||
container_name: open-webui
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
networks:
|
||||
- webui-network
|
||||
|
||||
environment:
|
||||
UID: 1000
|
||||
PID: 1000
|
||||
OLLAMA_BASE_URL: http://host.docker.internal:11434
|
||||
WEBUI_SECRET_KEY:
|
||||
|
||||
volumes:
|
||||
- ./data/webui:/app/backend/data
|
||||
|
||||
|
||||
networks:
|
||||
webui-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user