forked from amjadraza/langchain-streamlit-docker-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1021 Bytes
/
docker-compose.yml
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
53
54
55
56
57
58
59
60
version: '3'
services:
lecture-bot:
hostname: lecture-bot
container_name: lecture-bot
build:
context: .
dockerfile: ./docker/app/Dockerfile
volumes:
- ./app/:/app/app
# ports:
# - 8080:8080
restart: always
networks:
- net
nginx:
image: nginx
container_name: my-nginx-container
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/conf.d
ports:
- "80:80"
networks:
- net
langflow:
build:
context: ./docker/langflow
dockerfile: Dockerfile
ports:
- "7860:7860"
volumes:
- ./docker/langflow:/app
ollama:
hostname: ollama
container_name: ollama
build:
context: ./docker/ollama
dockerfile: Dockerfile
# ports:
# - "11434:11434"
volumes:
- ollama_data:/app
networks:
- net
volumes:
index_data:
driver: local
backups:
driver: local
postgres-data:
ollama_data:
driver: local
networks:
net:
driver: bridge