-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 964 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copy .env.example to .env and set PTX_HOST, PTX_USER, PTX_PASSWORD (and optionally PTX_SSH_KEY).
services:
ptx-mcp:
build: .
container_name: ptx-mcp-server
env_file:
- .env
ports:
- "8001:8000"
restart: unless-stopped
volumes:
- ./config:/app/config
networks:
- ptx-network
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: ptx-open-webui
ports:
- "3001:8080"
environment:
- WEBUI_NAME=PTX Network Management
- ENABLE_RAG_WEB_SEARCH=false
- ENABLE_IMAGE_GENERATION=false
- OLLAMA_BASE_URL=http://host.docker.internal:11434
- OPENAI_API_BASE_URL=http://host.docker.internal:11434/v1
volumes:
- open-webui-data:/app/backend/data
restart: unless-stopped
networks:
- ptx-network
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
ptx-network:
driver: bridge
volumes:
open-webui-data: