-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
89 lines (81 loc) · 1.66 KB
/
docker-compose.yaml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
mongo:
image: mongo:8.0.1
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
MONGO_INITDB_DATABASE: illm
volumes:
- ./mongo-data:/data/db
networks:
- illm
illm-webapp:
image: siddh34/illm-webapp:latest
ports:
- "5173:5173"
environment:
VITE_CLERK_PUBLISHABLE_KEY: ${VITE_CLERK_PUBLISHABLE_KEY}
networks:
- illm
illm-express:
image: siddh34/illm-express:latest
depends_on:
- mongo
- illm-webapp
ports:
- "3000:3000"
environment:
MONGO_URI: mongodb://root:root@mongo:27017/
PORT: 3000
FRONTEND_URL: http://illm-webapp:5173
networks:
- illm
ollama-llm:
image: ollama/ollama:latest
ports:
- 7869:11434
volumes:
- .:/code
- ./ollama/ollama:/root/.ollama
container_name: ollama
pull_policy: always
tty: true
restart: always
environment:
- OLLAMA_KEEP_ALIVE=24h
- OLLAMA_HOST=0.0.0.0
networks:
- illm
go-server:
image: siddh34/illm-golang:latest
depends_on:
- mongo
- ollama-llm
environment:
LLAMA_URL: http://ollama-llm:11434/
MONGO_URL: mongodb://root:root@localhost:27017/
ports:
- "8081:8090"
networks:
- illm
illm-flask:
image: siddh34/illm-flask:latest
pull_policy: always
depends_on:
- mongo
- go-server
ports:
- "5000:5000"
environment:
GO_SERVER_URL: http://go-server:8090
MODEL: ${MODEL}
networks:
- illm
volumes:
ollama:
mongo-data:
networks:
illm:
driver: bridge