-
Notifications
You must be signed in to change notification settings - Fork 9
/
compose.yml
186 lines (176 loc) · 4.1 KB
/
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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
version: "3.9"
services:
mysql:
env_file: [.env_file]
image: mysql:latest
profiles:
- context_storage
restart: unless-stopped
ports:
- 3307:3306
volumes:
- mysql-data:/var/lib/mysql
healthcheck:
test: mysql -u $${MYSQL_USERNAME} -p$${MYSQL_PASSWORD} -e "select 1;"
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
psql:
env_file: [.env_file]
image: postgres:latest
profiles:
- context_storage
restart: unless-stopped
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: psql pg_isready -U $${POSTGRES_USERNAME} -d $${POSTGRES_DB}
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
redis:
env_file: [.env_file]
image: redis:latest
profiles:
- context_storage
restart: unless-stopped
command: --requirepass pass
ports:
- 6379:6379
volumes:
- redis-data:/data
healthcheck:
test: redis-cli --raw incr ping
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
mongo:
env_file: [.env_file]
image: mongo:latest
profiles:
- context_storage
restart: unless-stopped
ports:
- 27017:27017
volumes:
- mongo-data:/data/db
healthcheck:
test: mongosh --norc --quiet --eval 'db.runCommand("ping").ok' localhost:27017/test
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
ydb:
env_file: [.env_file]
image: cr.yandex/yc/yandex-docker-local-ydb:latest
profiles:
- context_storage
restart: unless-stopped
ports:
- 8765:8765
# - 2135:2135
- 2136:2136
hostname: localhost
volumes:
- ydb-data:/ydb_data
- ydb-certs:/ydb_certs
healthcheck:
test: sh ./health_check
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
ner:
image: deeppavlov/deeppavlov:latest
profiles:
- extras
environment:
- CONFIG=ner_conll2003_bert
restart: unless-stopped
ports:
- 5000:5000
volumes:
- ~/.deeppavlov:/root/.deeppavlov/
- ~/.cache:/root/.cache/
dashboard:
env_file: [.env_file]
build:
context: ./chatsky/utils/docker
dockerfile: dockerfile_stats
image: ghcr.io/deeppavlov/superset_df_dashboard:latest
depends_on:
dashboard-metadata:
condition: service_healthy
clickhouse:
condition: service_started
profiles:
- stats
ports:
- "8088:8088"
dashboard-metadata:
env_file: [.env_file]
image: postgres:latest
profiles:
- stats
restart: unless-stopped
expose:
- "5433"
ports:
- 5433:5433
command: -p 5433
healthcheck:
test: pg_isready -p 5433 --username=$${POSTGRES_USERNAME}
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
volumes:
- dashboard-data:/var/lib/postgresql/data
clickhouse:
env_file: [.env_file]
image: clickhouse/clickhouse-server:latest
profiles:
- stats
restart: unless-stopped
ports:
- '8123:8123'
- '8443:8443'
- '9000:9000'
volumes:
- ch-data:/var/lib/clickhouse/
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:8123/ping
interval: 5s
timeout: 10s
retries: 5
start_period: 30s
otelcol:
image: otel/opentelemetry-collector-contrib:0.103.1
profiles:
- stats
container_name: otel-col
restart: unless-stopped
command: [ "--config=/etc/otelcol-config.yml", "--config=/etc/otelcol-config-extras.yml" ]
depends_on:
clickhouse:
condition: service_healthy
volumes:
- ./chatsky/utils/otel/otelcol-config.yml:/etc/otelcol-config.yml:ro
- ./chatsky/utils/otel/otelcol-config-extras.yml:/etc/otelcol-config-extras.yml:ro
ports:
- "4317:4317" # OTLP over gRPC receiver
- "4318:4318" # OTLP over HTTP receiver
volumes:
ch-data:
dashboard-data:
mysql-data:
postgres-data:
redis-data:
mongo-data:
ydb-data:
ydb-certs: