-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
283 lines (263 loc) · 6.96 KB
/
docker-compose.dev.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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
version: "3.8"
services:
antimatter:
image: nishantpanwar77/antimatterui:latest
container_name: antimatter-ui
restart: always
ports:
- "3000:3000"
postgres-test:
image: postgres:9.6-alpine
container_name: postgres-testdb
restart: always
ports:
- 5433:5432
volumes:
- ./backend/postgres:/var/lib/postgresql/data/pgdata
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_PASSWORD: UCDoCjYxCFWReZeyJjovrrfczXgvPnvB
lightdash-db:
image: postgres
container_name: postgres-lightdash
restart: always
ports:
- 5434:5432
environment:
POSTGRES_PASSWORD: ${PGPASSWORD}
POSTGRES_USER: ${PGUSER:-postgres}
POSTGRES_DB: ${PGDATABASE:-postgres}
redis:
image: redis:6.2.4-alpine
container_name: redis-jitsu
restart: always
ports:
- 6879:6379
volumes:
- ./backend/redis:/data
clickhouse:
image: yandex/clickhouse-server
container_name: clickhouse-db
restart: always
ports:
- 8123:8123
- 9000:9000
volumes:
- ./backend/clickhouse:/var/lib/clickhouse
- ./ch-settings/etc/users.d/:/etc/clickhouse-server/users.d/
deploy:
resources:
limits:
cpus: "0.5"
memory: 4096M
jitsu:
image: jitsucom/jitsu:latest
container_name: jitsu
restart: always
depends_on:
- redis
ports:
- 8000:8000
environment:
- REDIS_URL=redis://redis:6379
- UI_AUTH_REFRESH_SECRET=ULWBZyNfBeXPPVbwsEwgNVezsbjjyVdq
- UI_AUTH_ACCESS_SECRET=sNVPJZnQZLMpKXvVHfdHMnitNHsRmURC
- SERVER_ADMIN_TOKEN=sNVPJZnSIKLJUHFBVIURHZDUnitNHsRmURC
- CONFIGURATOR_ADMIN_TOKEN=salhfgLIARVUGiygdaLAGFRRLIGxnb
volumes:
- ./backend/jitsu/configurator:/home/configurator/data/logs
- ./backend/jitsu/events:/home/eventnative/data/logs/events
- ./backend/jitsu/login:/home/eventnative/data/logs
- ./backend/jitsu/login:/home/eventnative/data/airbyte
- workspace:/home/eventnative/data/airbyte
- /var/run/docker.sock:/var/run/docker.sock
deploy:
resources:
limits:
cpus: "0.5"
memory: 4096M
tabix:
image: vchernikh/tabix:latest
container_name: tabix
restart: always
links:
- clickhouse
ports:
- 8181:80
# VALUES:
# NAME: CH
# UserName: default
sqlpad:
image: sqlpad/sqlpad:latest
container_name: sqlpad
restart: always
ports:
- 3002:3000
volumes:
- ./backend/sqlpad:/var/lib/sqlpad
environment:
- SQLPAD_AUTH_DISABLED=true
- SQLPAD_AUTH_DISABLED_DEFAULT_ROLE=admin
- SQLPAD_USERPASS_AUTH_DISABLED=true
- SQLPAD_ADMIN_PASSWORD=5aWC9bWss2kZjr6MoowFokbPqrFEagts
- SQLPAD_ADMIN=example@example.com
jupyter:
image: jupyter/datascience-notebook
container_name: jupyter
restart: always
ports:
- 8888:8888
environment:
JUPYTER_TOKEN: easy #URL:PORT/?token=easy
NB_UID: 1000
NB_GID: 100
JUPYTER_ENABLE_LAB: yes
links:
- clickhouse
volumes:
- ./backend/jupyter-data-dir:/home/jovyan/work
- ./clickhouse_helper.py:/home/jovyan/work/clickhouse_helper.py
# for password using generate pwd hash IPython.lib.passwd()
# command: start-notebook.sh --NotebookApp.password='sha1:92557d72fa24:0bb69987c3b3c6218f466258ee0e5e2a87e34671'
cubestore:
image: cubejs/cubestore:latest
container_name: cubestore
restart: always
ports:
- 3030:3030
volumes:
- ./backend/cube:/cube/data
environment:
- CUBESTORE_REMOTE_DIR=/cube/data
cube:
image: cubejs/cube:latest
container_name: cube
restart: always
ports:
- 4000:4000
depends_on:
- cubestore
links:
- cubestore
volumes:
- ./backend/cube/conf/schema:/cube/conf/schema
environment:
- CUBEJS_CUBESTORE_HOST=localhost
trino:
image: trinodb/trino
container_name: trino
restart: always
ports:
- 8081:8080
postgres-metabase:
image: postgres:10
container_name: postgres-metabase
restart: always
volumes:
- ./backend/postgres-metabase:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: UCDoCjYxCFWReZeyJjovrrfczXgvPnvB
POSTGRES_USER: metabase_user
POSTGRES_DB: metabase
metabase:
depends_on:
- postgres-metabase
image: bjeanes/metabase-clickhouse
container_name: metabase
restart: always
ports:
- 3001:3000
volumes:
- ./backend/metabase:/metabase-data
environment:
# - MB_DB_FILE=/metabase-data/metabase.db
JAVA_TIMEZONE: Asia/Kolkata
JAVA_OPTS: -Xmx4g
MB_ENCRYPTION_SECRET_KEY: UCDoCjYxCFWReZeyJjovrrfczXgvPnvB
MB_DB_TYPE: postgres
MB_DB_DBNAME: metabase
MB_DB_PORT: 5432
MB_DB_USER: metabase_user
MB_DB_PASS: UCDoCjYxCFWReZeyJjovrrfczXgvPnvB
MB_DB_HOST: postgres-metabase
lightdash:
image: lightdash/lightdash:latest
container_name: lightdash
restart: always
depends_on:
- lightdash-db
environment:
- PGHOST=${PGHOST:-lightdash-db}
- PGPORT=${PGPORT:-5434}
- PGUSER=${PGUSER:-postgres}
- PGPASSWORD=${PGPASSWORD}
- PGDATABASE=${PGDATABASE:-postgres}
- SECURE_COOKIES=${SECURE_COOKIES:-false}
- TRUST_PROXY=${TRUST_PROXY:-false}
- LIGHTDASH_SECRET=${LIGHTDASH_SECRET:-lightdashsecret}
- PORT=${PORT:-8080}
- LIGHTDASH_INSTALL_ID=${LIGHTDASH_INSTALL_ID:-local}
- LIGHTDASH_INSTALL_TYPE=${LIGHTDASH_INSTALL_TYPE:-docker_image}
volumes:
- "${DBT_PROJECT_DIR}:/usr/app/dbt"
ports:
- 8082:${PORT:-8080}
# mindsdb UI is available at http://localhost:47334/
mindsdb:
image: mindsdb/mindsdb
container_name: mindsdb
restart: always
ports:
- 47334:47334
- 47335:47335
- 47336:47336
web:
image: taskcafe/taskcafe:latest
container_name: taskcafe
# build: .
ports:
- 3333:3333
depends_on:
- postgres
networks:
- taskcafe-test
environment:
TASKCAFE_DATABASE_HOST: postgres
TASKCAFE_MIGRATE: "true"
volumes:
- taskcafe-uploads:/root/uploads
postgres:
image: postgres:12.3-alpine
container_name: taskcafe-postgres
restart: always
networks:
- taskcafe-test
environment:
POSTGRES_USER: taskcafe
POSTGRES_PASSWORD: taskcafe_test
POSTGRES_DB: taskcafe
volumes:
- taskcafe-postgres:/var/lib/postgresql/data
monit:
image: pottava/docker-webui
container_name: monit
restart: always
ports:
- 9100:9100
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- APP_PORT=9100
- DOCKER_HOST
- APP_LABEL_OVERRIDE_NAMES=com.docker.compose.service
- APP_LABEL_FILTERS=com.docker.compose.service
volumes:
workspace:
name: jitsu_workspace
taskcafe-postgres:
external: false
taskcafe-uploads:
external: false
networks:
taskcafe-test:
driver: bridge