-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcompose.yml
More file actions
52 lines (48 loc) · 1021 Bytes
/
compose.yml
File metadata and controls
52 lines (48 loc) · 1021 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
41
42
43
44
45
46
47
48
49
50
51
52
networks:
net:
driver: bridge
services:
chromadb:
image: chromadb/chroma:1.5.5
container_name: chroma-db
volumes:
- chroma:/data
ports:
- "8000:8000"
networks:
- net
youtubegpt:
image: sudoleg/yotube-gpt:latest
container_name: youtube-gpt
depends_on:
- chromadb
build:
context: .
dockerfile: Dockerfile
volumes:
# leave as it is
- ./data:/app/data
environment:
# replace with your OpenAI API key or the name of the environment
# variable that stores it on your PC
- OPENAI_API_KEY=${OPENAI_YOUTUBEGPT_API_KEY}
- OLLAMA_HOST=http://host.docker.internal:11434
ports:
- "8501:8501"
networks:
- net
#ollama:
# image: ollama/ollama:0.13.3
# container_name: ollama
# volumes:
# - ollama:/root/.ollama
# ports:
# - "11434:11434"
# restart: unless-stopped
# networks:
# - net
volumes:
chroma:
driver: local
# ollama:
# driver: local