-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (85 loc) · 1.66 KB
/
docker-compose.yml
File metadata and controls
93 lines (85 loc) · 1.66 KB
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
90
91
92
93
version: "3"
services:
rabbit:
image: rabbitmq:3.6-management-alpine
container_name: rabbitmq
ports:
- "5671:5671"
- "5672:5672"
- "15672:15672"
networks:
- qa-service
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 30s
timeout: 10s
retries: 10
embedder:
image: pacificus/tf_use_embedder_qa
container_name: embedder
restart: always
depends_on:
- rabbit
ports:
- "5002:5000"
networks:
- qa-service
volumes:
- ./models/1:/models/use
healthcheck:
test: curl -s http://embedder:5000/readiness || exit 1
interval: 30s
timeout: 10s
retries: 10
elastic:
image: elasticsearch:8.4.3
container_name: es_index
restart: always
ports:
- "9300:9300"
- "9200:9200"
env_file:
- ./es.env
networks:
- qa-service
healthcheck:
test: curl -s http://es:9200 >/dev/null || exit 1
interval: 30s
timeout: 10s
retries: 10
search:
image: pacificus/search_qa
container_name: search
restart: always
depends_on:
- rabbit
- elastic
- embedder
ports:
- "5003:5003"
networks:
- qa-service
streamlit_app:
image: pacificus/streamlit_app
container_name: streamlit_app
restart: always
depends_on:
- rabbit
- elastic
- embedder
ports:
- "8501:8501"
networks:
- qa-service
tg_bot:
image: pacificus/tg_bot
container_name: tg_bot
restart: always
depends_on:
- rabbit
- elastic
- embedder
networks:
- qa-service
networks:
qa-service: