-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yaml
1393 lines (1392 loc) · 44.6 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
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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
services:
activemq:
container_name: activemq
environment:
- "ARTEMIS_USER=${ARTEMIS_USER:-artemis}"
- "ARTEMIS_PASSWORD=${ARTEMIS_PASSWORD:-artemis}"
healthcheck:
interval: 15s
retries: 3
test: [CMD-SHELL, "curl -k -f http://localhost:8161/admin"]
timeout: 5s
image: "apache/activemq-artemis:${ACTIVEMQ_VERSION:-2.38.0}"
ports:
- "61616:61616"
- "8161:8161"
airflow:
command: standalone
container_name: airflow
depends_on:
airflow-init:
condition: service_completed_successfully
environment:
- AIRFLOW_UID=50000
- "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=postgresql+psycopg2://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres/airflow"
- AIRFLOW__CORE__FERNET_KEY=
- AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION=true
- AIRFLOW__CORE__LOAD_EXAMPLES=true
- "AIRFLOW__API__AUTH_BACKENDS=airflow.api.auth.backend.basic_auth,airflow.api.auth.backend.session"
healthcheck:
interval: 30s
retries: 5
start_period: 30s
test: [CMD, curl, --fail, "http://localhost:8080/health"]
timeout: 10s
image: "apache/airflow:${AIRFLOW_VERSION:-2.10.3}"
ports:
- "8081:8080"
restart: always
user: "50000:0"
volumes:
- "./data/airflow/dags:/opt/airflow/dags"
airflow-init:
# yamllint disable rule:line-length
command:
- -c
- |
one_meg=1048576
mem_available=$$(($$(getconf _PHYS_PAGES) * $$(getconf PAGE_SIZE) / one_meg))
cpus_available=$$(grep -cE 'cpu[0-9]+' /proc/stat)
disk_available=$$(df / | tail -1 | awk '{print $$4}')
warning_resources=false
if (( mem_available < 4000 )) ; then
echo
echo -e \033[1;33mWARNING!!!: Not enough memory available for Docker.\e[0m
echo At least 4GB of memory required. You have $$(numfmt --to iec $$((mem_available * one_meg)))
echo
warning_resources=true
fi
if (( cpus_available < 2 )); then
echo
echo -e \033[1;33mWARNING!!!: Not enough CPUS available for Docker.\e[0m
echo At least 2 CPUs recommended. You have $${cpus_available}
echo
warning_resources=true
fi
if (( disk_available < one_meg * 10 )); then
echo
echo -e \033[1;33mWARNING!!!: Not enough Disk space available for Docker.\e[0m
echo At least 10 GBs recommended. You have $$(numfmt --to iec $$((disk_available * 1024 )))
echo
warning_resources=true
fi
if [[ $${warning_resources} == true ]]; then
echo
echo -e \033[1;33mWARNING!!!: You have not enough resources to run Airflow (see above)!\e[0m
echo Please follow the instructions to increase amount of resources available:
echo https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html#before-you-begin
echo
fi
mkdir -p /sources/logs /sources/dags /sources/plugins
chown -R 50000:0 /sources/{logs,dags,plugins}
exec /entrypoint airflow version
container_name: airflow-init
depends_on:
postgres:
condition: service_completed_successfully
entrypoint: /bin/bash
# yamllint enable rule:line-length
environment:
- AIRFLOW_UID=50000
- "AIRFLOW__DATABASE__SQL_ALCHEMY_CONN=postgresql+psycopg2://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres/airflow"
- _AIRFLOW_DB_MIGRATE=true
- _AIRFLOW_WWW_USER_CREATE=true
- "_AIRFLOW_WWW_USER_USERNAME=${AIRFLOW_USER:-airflow}"
- "_AIRFLOW_WWW_USER_PASSWORD=${AIRFLOW_PASSWORD:-airflow}"
- _PIP_ADDITIONAL_REQUIREMENTS=
image: "apache/airflow:${AIRFLOW_VERSION:-2.10.3}"
user: "0:0"
amundsen:
command: gunicorn -w 2 --bind :5000 amundsen_application.wsgi
container_name: amundsen
depends_on:
- amundsen-metadata
- amundsen-search
environment:
- SEARCHSERVICE_BASE=http://amundsen-search:5000
- METADATASERVICE_BASE=http://amundsen-metadata:5000
- FRONTEND_SVC_CONFIG_MODULE_CLASS=amundsen_application.config.TestConfig
image: "amundsendev/amundsen-frontend:${AMUNDSEN_FRONTEND_VERSION:-4.3.0}"
ports:
- "5003:5000"
amundsen-metadata:
command: gunicorn -w 2 --bind :5000 metadata_service.metadata_wsgi
container_name: amundsen-metadata
depends_on:
- amundsen-neo4j
environment:
- PROXY_HOST=bolt://amundsen-neo4j
- PROXY_ENCRYPTED=True
- PROXY_VALIDATE_SSL=False
image: "amundsendev/amundsen-metadata:${AMUNDSEN_METADATA_VERSION:-3.13.0}"
ports:
- "5002:5000"
amundsen-neo4j:
container_name: amundsen-neo4j
environment:
- NEO4J_AUTH=none
image: "datacatering/neo4j:3.5.35"
ports:
- "7474:7474"
- "7687:7687"
ulimits:
nofile:
hard: 40000
soft: 40000
volumes:
- "./data/amundsen-neo4j/conf:/var/lib/neo4j/conf"
amundsen-search:
command: gunicorn -w 2 --bind :5000 search_service.search_wsgi
container_name: amundsen-search
depends_on:
- elasticsearch
environment:
- PROXY_ENDPOINT=elasticsearch
image: "amundsendev/amundsen-search:${AMUNDSEN_SEARCH_VERSION:-4.2.0}"
ports:
- "5001:5000"
blazer:
command: sh -c "rails db:migrate && puma -C /app/config/puma.rb"
container_name: blazer
depends_on:
postgres:
condition: service_completed_successfully
environment:
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/blazer
- DATABASE_CUSTOMER_URL=postgres://postgres:postgres@postgres:5432/customer
image: "ankane/blazer:${BLAZER_VERSION:-v3.1.0}"
ports:
- "8080:8080"
volumes:
- "./data/blazer/blazer.yml:/app/config/blazer.yml"
cassandra:
command: [-c, /tmp/scripts/init.sh]
container_name: cassandra-data
depends_on:
cassandra-server:
condition: service_healthy
entrypoint: /bin/bash
environment:
- DS_LICENSE=accept
image: "datacatering/dse-server:${CASSANDRA_VERSION:-6.8.48}"
volumes:
- "./data/cassandra/init.sh:/tmp/scripts/init.sh"
- "${CASSANDRA_DATA:-./data/cassandra/data}:/tmp/data"
cassandra-server:
cap_add:
- IPC_LOCK
container_name: cassandra
environment:
- DS_LICENSE=accept
healthcheck:
interval: 30s
retries: 3
test: [CMD-SHELL, "[ $$(nodetool statusgossip) = running ]"]
timeout: 10s
image: "datacatering/dse-server:${CASSANDRA_VERSION:-6.8.48}"
ports:
- "9042:9042"
ulimits:
memlock: -1
clickhouse:
command: [/bin/bash, -c, /tmp/scripts/init.sh]
container_name: clickhouse-data
depends_on:
clickhouse-server:
condition: service_healthy
hostname: clickhouse
image: "clickhouse/clickhouse-server:${CLICKHOUSE_VERSION:-24.10.3}"
user: "101:101"
volumes:
- "./data/clickhouse/init.sh:/tmp/scripts/init.sh"
- "${CLICKHOUSE_DATA:-./data/clickhouse/data}:/tmp/data"
clickhouse-server:
container_name: clickhouse
depends_on:
postgres:
condition: service_completed_successfully
healthcheck:
interval: 10s
retries: 3
test: "wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1"
timeout: 5s
hostname: clickhouse
image: "clickhouse/clickhouse-server:${CLICKHOUSE_VERSION:-24.10.3}"
ports:
- "8123:8123"
- "9000:9000"
user: "101:101"
cockroachdb:
command: [bash, -c, /tmp/scripts/init.sh]
container_name: cockroachdb-data
depends_on:
cockroachdb-server:
condition: service_healthy
image: "cockroachdb/cockroach:${COCKROACHDB_VERSION:-v24.2.5}"
volumes:
- "./data/cockroachdb/init.sh:/tmp/scripts/init.sh"
- "${COCKROACHDB_DATA:-./data/cockroachdb/data}:/tmp/data"
cockroachdb-server:
command: [start-single-node, --insecure]
container_name: cockroachdb
healthcheck:
interval: 10s
retries: 5
test: [CMD-SHELL, "curl --fail http://localhost:8080/ || exit 1"]
timeout: 5s
image: "cockroachdb/cockroach:${COCKROACHDB_VERSION:-v24.2.5}"
ports:
- "26257:26257"
- "8080:8080"
confluent-schema-registry:
container_name: schema-registry
depends_on:
kafka-server:
condition: service_healthy
env_file: data/confluent-schema-registry/env/docker.env
healthcheck:
interval: 10s
retries: 5
test: nc -z schema-registry 8081
timeout: 5s
hostname: schema-registry
image: confluentinc/cp-schema-registry:${CONFLUENT_SCHEMA_REGISTRY_VERSION:-7.4.0}
ports:
- "8081:8081"
dagster:
container_name: dagster
depends_on:
postgres:
condition: service_completed_successfully
entrypoint: [dagster-webserver, -h, 0.0.0.0, -p, "3000", -w, /opt/dagster/app/workspace.yaml]
environment:
- DAGSTER_POSTGRES_HOST=postgres
- "DAGSTER_POSTGRES_USER=${POSTGRES_USER:-postgres}"
- "DAGSTER_POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}"
- DAGSTER_POSTGRES_DB=dagster
- DAGSTER_HOME=/opt/dagster/dagster_home/
image: "dagster/dagster-k8s:${DAGSTER_VERSION:-1.9.3}"
ports:
- "3000:3000"
volumes:
- "./data/dagster:/opt/dagster/app/"
data-caterer:
container_name: data-caterer
depends_on:
postgres:
condition: service_completed_successfully
environment:
- DEPLOY_MODE=standalone
image: "datacatering/data-caterer:${DATA_CATERER_VERSION:-0.12.1}"
ports:
- "9898:9898"
volumes:
- "./data/data-caterer/connection:/opt/DataCaterer/connection"
- "./data/data-caterer/plan:/opt/DataCaterer/plan"
datahub:
container_name: datahub
depends_on:
datahub-gms:
condition: service_healthy
env_file: data/datahub-frontend/env/docker.env
environment:
- ELASTIC_CLIENT_USERNAME=elastic
- "ELASTIC_CLIENT_PASSWORD=${ELASTICSEARCH_PASSWORD:-elasticsearch}"
hostname: datahub
image: acryldata/datahub-frontend-react:${DATAHUB_VERSION:-head}
ports:
- "9002:9002"
datahub-actions:
container_name: datahub-actions
depends_on:
datahub-gms:
condition: service_healthy
env_file: data/datahub-actions/env/docker.env
environment:
- ACTIONS_EXTRA_PACKAGES=${ACTIONS_EXTRA_PACKAGES:-}
- ACTIONS_CONFIG=${ACTIONS_CONFIG:-}
hostname: actions
image: acryldata/datahub-actions:${DATAHUB_VERSION:-head}
datahub-gms:
container_name: datahub-gms
depends_on:
datahub-upgrade:
condition: service_completed_successfully
env_file: data/datahub-upgrade/env/docker-without-neo4j.env
environment:
- KAFKA_CONSUMER_STOP_ON_DESERIALIZATION_ERROR=${KAFKA_CONSUMER_STOP_ON_DESERIALIZATION_ERROR:-true}
- EBEAN_DATASOURCE_USERNAME=root
- "EBEAN_DATASOURCE_PASSWORD=${MYSQL_PASSWORD:-root}"
- ELASTICSEARCH_USERNAME=elastic
- "ELASTICSEARCH_PASSWORD=${ELASTICSEARCH_PASSWORD:-elasticsearch}"
healthcheck:
interval: 1s
retries: 3
start_period: 90s
test: "curl -sS --fail http://datahub-gms:8080/health"
timeout: 5s
hostname: datahub-gms
image: acryldata/datahub-gms:${DATAHUB_VERSION:-head}
ports:
- "8080:8080"
datahub-kafka-setup:
container_name: datahub-kafka-setup
depends_on:
confluent-schema-registry:
condition: service_healthy
kafka-server:
condition: service_healthy
entrypoint: [/bin/sh, -c, /tmp/scripts/init.sh]
environment:
- "KAFKA_TOPICS=${KAFKA_TOPICS:-MetadataAuditEvent_v4,MetadataChangeEvent_v4,FailedMetadataChangeEvent_v4,MetadataChangeLog_Versioned_v1,MetadataChangeLog_Timeseries_v1,MetadataChangeProposal_v1,FailedMetadataChangeProposal_v1,PlatformEvent_v1,DataHubUpgradeHistory_v1}"
image: "confluentinc/confluent-local:${KAFKA_VERSION:-7.7.1}"
volumes:
- "./data/kafka/init.sh:/tmp/scripts/init.sh"
datahub-upgrade:
command:
- -u
- SystemUpdate
container_name: datahub-upgrade
depends_on:
datahub-kafka-setup:
condition: service_completed_successfully
elasticsearch:
condition: service_completed_successfully
mysql:
condition: service_completed_successfully
neo4j:
condition: service_healthy
env_file: data/datahub-upgrade/env/docker-without-neo4j.env
environment:
- EBEAN_DATASOURCE_USERNAME=root
- "EBEAN_DATASOURCE_PASSWORD=${MYSQL_PASSWORD:-root}"
- ELASTICSEARCH_USERNAME=elastic
- "ELASTICSEARCH_PASSWORD=${ELASTICSEARCH_PASSWORD:-elasticsearch}"
hostname: datahub-upgrade
image: acryldata/datahub-upgrade:${DATAHUB_VERSION:-head}
labels:
datahub_setup_job: true
debezium:
container_name: debezium
depends_on:
debezium-connect:
condition: service_healthy
environment:
- "KAFKA_CONNECT_URIS=http://debezium-connect:8083"
healthcheck:
interval: 10s
retries: 3
test: [CMD, curl, --fail, "http://localhost:8080"]
timeout: 10s
image: "debezium/debezium-ui:${DEBEZIUM_VERSION:-2.1.2.Final}"
ports:
- "8080:8080"
debezium-connect:
container_name: debezium-connect
depends_on:
- kafka
environment:
- "BOOTSTRAP_SERVERS=kafka:29092"
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=my_connect_configs
- OFFSET_STORAGE_TOPIC=my_connect_offsets
- STATUS_STORAGE_TOPIC=my_connect_statuses
- KEY_CONVERTER=org.apache.kafka.connect.json.JsonConverter
- VALUE_CONVERTER=org.apache.kafka.connect.json.JsonConverter
- CONNECT_REST_ADVERTISED_HOST_NAME=debezium-connect
- CONNECT_REST_PORT=8083
healthcheck:
interval: 10s
retries: 3
test: [CMD, curl, --fail, "http://localhost:8083"]
timeout: 10s
image: "debezium/connect:${DEBEZIUM_CONNECT_VERSION:-2.6.2.Final}"
ports:
- "8083:8083"
doris:
container_name: doris
depends_on:
postgres:
condition: service_completed_successfully
image: "apache/doris:${DORIS_VERSION:-doris-all-in-one-2.1.0}"
ports:
- "8030:8030"
- "8040:8040"
- "9030:9030"
druid:
command: [router]
container_name: druid
depends_on:
druid-broker:
condition: service_healthy
druid-coordinator:
condition: service_healthy
druid-historical:
condition: service_healthy
druid-middlemanager:
condition: service_healthy
postgres:
condition: service_healthy
zookeeper:
condition: service_healthy
env_file: data/druid/environment
environment:
- "druid_metadata_storage_connector_user=${POSTGRES_USER:-postgres}"
- "druid_metadata_storage_connector_password=${POSTGRES_PASSWORD:-postgres}"
healthcheck:
interval: 10s
retries: 3
test: "wget --no-verbose --tries=1 --spider http://localhost:8888/status/health || exit 1"
timeout: 5s
image: "apache/druid:${DRUID_VERSION:-31.0.0}"
ports:
- "8888:8888"
druid-broker:
command: [broker]
container_name: druid-broker
depends_on:
druid-coordinator:
condition: service_healthy
postgres:
condition: service_healthy
zookeeper:
condition: service_healthy
env_file: data/druid/environment
environment:
- "druid_metadata_storage_connector_user=${POSTGRES_USER:-postgres}"
- "druid_metadata_storage_connector_password=${POSTGRES_PASSWORD:-postgres}"
healthcheck:
interval: 10s
retries: 3
test: "wget --no-verbose --tries=1 --spider http://localhost:8082/druid/broker/v1/loadstatus || exit 1"
timeout: 5s
image: "apache/druid:${DRUID_VERSION:-31.0.0}"
ports:
- "8082:8082"
druid-coordinator:
command: [coordinator]
container_name: druid-coordinator
depends_on:
postgres:
condition: service_completed_successfully
zookeeper:
condition: service_healthy
env_file: data/druid/environment
environment:
- "druid_metadata_storage_connector_user=${POSTGRES_USER:-postgres}"
- "druid_metadata_storage_connector_password=${POSTGRES_PASSWORD:-postgres}"
healthcheck:
interval: 10s
retries: 3
test: "wget --no-verbose --tries=1 --spider http://localhost:8081/status/health || exit 1"
timeout: 5s
image: "apache/druid:${DRUID_VERSION:-31.0.0}"
ports:
- "8081:8081"
druid-historical:
command: [historical]
container_name: druid-historical
depends_on:
druid-coordinator:
condition: service_healthy
postgres:
condition: service_healthy
zookeeper:
condition: service_healthy
env_file: data/druid/environment
environment:
- "druid_metadata_storage_connector_user=${POSTGRES_USER:-postgres}"
- "druid_metadata_storage_connector_password=${POSTGRES_PASSWORD:-postgres}"
healthcheck:
interval: 10s
retries: 3
test: "wget --no-verbose --tries=1 --spider http://localhost:8083/druid/historical/v1/readiness || exit 1"
timeout: 5s
image: "apache/druid:${DRUID_VERSION:-31.0.0}"
ports:
- "8083:8083"
druid-middlemanager:
command: [middleManager]
container_name: druid-middlemanager
depends_on:
druid-coordinator:
condition: service_healthy
postgres:
condition: service_healthy
zookeeper:
condition: service_healthy
env_file: data/druid/environment
environment:
- "druid_metadata_storage_connector_user=${POSTGRES_USER:-postgres}"
- "druid_metadata_storage_connector_password=${POSTGRES_PASSWORD:-postgres}"
healthcheck:
interval: 10s
retries: 3
test: "wget --no-verbose --tries=1 --spider http://localhost:8091/status/health || exit 1"
timeout: 5s
image: "apache/druid:${DRUID_VERSION:-31.0.0}"
ports:
- "8091:8091"
- "8100-8105:8100-8105"
duckdb:
container_name: duckdb
depends_on:
postgres:
condition: service_completed_successfully
entrypoint: [tail, -F, anything]
image: "datacatering/duckdb:${DUCKDB_VERSION:-v1.1.3}"
volumes:
- "./data/duckdb:/opt/data"
elasticsearch:
container_name: elasticsearch-data
depends_on:
elasticsearch-server:
condition: service_healthy
entrypoint: /tmp/entrypoint.sh
environment:
- "ELASTIC_PASSWORD=${ELASTIC_PASSWORD:-elasticsearch}"
- "LOGSTASH_INTERNAL_PASSWORD=${LOGSTASH_INTERNAL_PASSWORD:-password}"
- "KIBANA_SYSTEM_PASSWORD=${KIBANA_SYSTEM_PASSWORD:-password}"
- "METRICBEAT_INTERNAL_PASSWORD=${METRICBEAT_INTERNAL_PASSWORD:-}"
- "FILEBEAT_INTERNAL_PASSWORD=${FILEBEAT_INTERNAL_PASSWORD:-}"
- "HEARTBEAT_INTERNAL_PASSWORD=${HEARTBEAT_INTERNAL_PASSWORD:-}"
- "MONITORING_INTERNAL_PASSWORD=${MONITORING_INTERNAL_PASSWORD:-}"
- "BEATS_SYSTEM_PASSWORD=${BEATS_SYSTEM_PASSWORD:-}"
image: "docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.16.1}"
volumes:
- "./data/elasticsearch/data/entrypoint.sh:/tmp/entrypoint.sh"
- "./data/elasticsearch/data/lib.sh:/tmp/lib.sh"
- "./data/elasticsearch/data/roles:/tmp/roles"
elasticsearch-server:
container_name: elasticsearch
environment:
- node.name=elasticsearch
- ES_JAVA_OPTS=-Xms512m -Xmx512m
- "ELASTIC_PASSWORD=${ELASTICSEARCH_PASSWORD:-elasticsearch}"
- XPACK_SECURITY_ENABLED=true
- discovery.type=single-node
healthcheck:
interval: 10s
retries: 5
test: "curl -sS --fail http://elasticsearch:9200/_cluster/health?wait_for_status=yellow&timeout=0s"
timeout: 5s
image: "docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.16.1}"
ports:
- "9200:9200"
- "9300:9300"
restart: unless-stopped
volumes:
- "./data/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro,Z"
evidence:
container_name: evidence
image: "evidencedev/devenv:${EVIDENCE_VERSION:-latest}"
init: true
ports:
- "3000:3000"
volumes:
- "./data/evidence/persist:/evidence-workspace"
flight-sql:
command: [tail, -f, /dev/null]
container_name: flight-sql
depends_on:
- duckdb
- sqlite
environment:
- TLS_ENABLED=1
- "FLIGHT_PASSWORD=${FLIGHT_SQL_PASSWORD:-flight_password}"
- PRINT_QUERIES=1
image: "voltrondata/flight-sql:${FLIGHT_SQL_VERSION:-v1.4.1}"
ports:
- "31337:31337"
flink:
command: taskmanager
container_name: flink
depends_on:
- flink-jobmanager
environment:
- JOB_MANAGER_RPC_ADDRESS=flink-jobmanager
- "FLINK_PROPERTIES=jobmanager.rpc.address:flink-jobmanager"
expose:
- 6121
- 6122
image: "flink:${FLINK_VERSION:-1.20.0-scala_2.12-java17}"
links: []
flink-jobmanager:
command: jobmanager
container_name: flink-jobmanager
environment:
- JOB_MANAGER_RPC_ADDRESS=flink-jobmanager
- "FLINK_PROPERTIES=jobmanager.rpc.address:flink-jobmanager"
expose:
- 6123
image: "flink:${FLINK_VERSION:-1.20.0-scala_2.12-java17}"
ports:
- "8081:8081"
fluentd:
container_name: fluentd
depends_on:
elasticsearch:
condition: service_completed_successfully
image: "datacatering/fluentd-elasticsearch:${FLUENTD_VERSION:-v1.17.0-debian-1.0}"
ports:
- "24224:24224"
- "24224:24224/udp"
volumes:
- "./data/fluentd/etc/fluent.conf:/fluentd/etc/fluent.conf"
httpbin:
container_name: http
environment:
- "GUNICORN_CMD_ARGS=--capture-output --error-logfile - --access-logfile - --access-logformat '%(h)s %(t)s %(r)s %(s)s Host: %({Host}i)s}'"
image: "kennethreitz/httpbin:${HTTPBIN_VERSION:-latest}"
ports:
- "80:80"
httpd:
container_name: httpd
depends_on:
- fluentd
image: "httpd:${HTTPD_VERSION:-2.4.62}"
logging:
driver: fluentd
options:
fluentd-address: localhost:24224
fluentd-async-connect: "true"
tag: httpd.access
ports:
- "80:80"
jupyter:
command: [jupyter, notebook, --no-browser, "--NotebookApp.token=''", "--NotebookApp.password=''"]
container_name: jupyter
image: "quay.io/jupyter/minimal-notebook:${JUPYTER_VERSION:-2024-07-02}"
ports:
- "8888:8888"
kafka:
container_name: kafka-data
depends_on:
kafka-server:
condition: service_healthy
entrypoint: [/bin/sh, -c, /tmp/scripts/init.sh]
environment:
- "KAFKA_TOPICS=${KAFKA_TOPICS:-accounts,transactions}"
image: "confluentinc/confluent-local:${KAFKA_VERSION:-7.7.1}"
volumes:
- "./data/kafka/init.sh:/tmp/scripts/init.sh"
kafka-server:
container_name: kafka
environment:
- "KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT,CONTROLLER:PLAINTEXT"
- KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT
- "KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092"
- "KAFKA_LISTENERS=PLAINTEXT://kafka:29092,CONTROLLER://localhost:29093,PLAINTEXT_HOST://0.0.0.0:9092"
expose:
- 29092
healthcheck:
interval: 5s
retries: 5
test: [CMD-SHELL, /bin/sh, -c, kafka-topics, --bootstrap-server, "kafka:29092", --list]
timeout: 5s
image: "confluentinc/confluent-local:${KAFKA_VERSION:-7.7.1}"
ports:
- "9092:9092"
keycloak:
command: [start-dev, --import-realm]
container_name: keycloak
depends_on:
postgres:
condition: service_completed_successfully
environment:
- KC_DB=postgres
- "KC_DB_USERNAME=${POSTGRES_USER:-postgres}"
- "KC_DB_PASSWORD=${POSTGRES_PASSWORD:-postgres}"
- "KC_DB_URL=jdbc:postgresql://postgres:5432/keycloak"
- KC_REALM_NAME=myrealm
- "KEYCLOAK_ADMIN=${KEYCLOAK_USER:-admin}"
- "KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_PASSWORD:-admin}"
image: "quay.io/keycloak/keycloak:${KEYCLOACK_VERSION:-26.0.6}"
ports:
- "8082:8080"
restart: unless-stopped
volumes:
- "./data/keycloak/realm.json:/opt/keycloak/data/import/realm.json:ro"
kibana:
container_name: kibana
depends_on:
elasticsearch:
condition: service_completed_successfully
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
- ELASTICSEARCH_USERNAME=kibana_system
- "KIBANA_SYSTEM_PASSWORD=${KIBANA_SYSTEM_PASSWORD:-password}"
healthcheck:
interval: 10s
retries: 3
test: [CMD, curl, --fail, "http://localhost:5601/api/status"]
timeout: 5s
image: "docker.elastic.co/kibana/kibana:${KIBANA_VERSION:-8.16.1}"
ports:
- "5601:5601"
restart: always
volumes:
- "./data/kibana/config/kibana.yml:/usr/share/kibana/config/kibana.yml"
kong:
container_name: kong
depends_on:
kong-data:
condition: service_completed_successfully
postgres:
condition: service_completed_successfully
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=postgres
- KONG_PG_USER=postgres
- KONG_PG_PASSWORD=postgres
- KONG_PROXY_ACCESS_LOG=/dev/stdout
- KONG_ADMIN_ACCESS_LOG=/dev/stdout
- KONG_PROXY_ERROR_LOG=/dev/stderr
- KONG_ADMIN_ERROR_LOG=/dev/stderr
- KONG_ADMIN_LISTEN=0.0.0.0:8001,0.0.0.0:8444 ssl
- KONG_PLUGINS=rate-limiting
healthcheck:
interval: 10s
retries: 5
test: [CMD-SHELL, kong health]
timeout: 10s
image: "kong:${KONG_VERSION:-3.8.0}"
ports:
- 8001:8001
- 8000:8000
restart: unless-stopped
kong-data:
command:
- kong
- migrations
- bootstrap
container_name: kong-data
depends_on:
postgres:
condition: service_completed_successfully
environment:
- KONG_DATABASE=postgres
- KONG_PG_HOST=postgres
- KONG_PG_USER=postgres
- KONG_PG_PASSWORD=postgres
image: "kong:${KONG_VERSION:-3.8.0}"
logstash:
container_name: logstash
depends_on:
elasticsearch:
condition: service_completed_successfully
environment:
LOGSTASH_INTERNAL_PASSWORD: "${LOGSTASH_INTERNAL_PASSWORD:-password}"
LS_JAVA_OPTS: -Xms256m -Xmx256m
healthcheck:
interval: 10s
retries: 3
test: [CMD, curl, --fail, "http://localhost:9600"]
timeout: 5s
image: "docker.elastic.co/logstash/logstash:${LOGSTASH_VERSION:-8.16.1}"
ports:
- "5044:5044"
- "50000:50000/tcp"
- "50000:50000/udp"
- "9600:9600"
restart: unless-stopped
volumes:
- "./data/logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml"
- "./data/logstash/pipeline:/usr/share/logstash/pipeline"
maestro:
container_name: maestro
depends_on:
cockroachdb:
condition: service_completed_successfully
environment:
- CONDUCTOR_CONFIGS_JDBCURL=jdbc:postgresql://cockroachdb:26257/maestro
- CONDUCTOR_CONFIGS_JDBCUSERNAME=root
image: "datacatering/maestro:${MAESTRO_VERSION:-0.1.0}"
ports:
- "8081:8080"
mage-ai:
command: mage start your_first_project
container_name: mage-ai
environment:
- USER_CODE_PATH=/home/src/your_first_project
image: "mageai/mageai:${MAGE_AI_VERSION:-0.9.74}"
ports:
- "6789:6789"
restart: on-failure
mariadb:
container_name: mariadb
environment:
- "MARIADB_USER=${MARIADB_USER:-user}"
- "MARIADB_PASSWORD=${MARIADB_PASSWORD:-password}"
- MARIADB_ROOT_PASSWORD=root
- MARIADB_DATABASE=customer
image: "mariadb:${MARIADB_VERSION:-11.5.2}"
ports:
- "3306:3306"
restart: always
marquez:
container_name: marquez-web
depends_on:
- marquez-data
environment:
- MARQUEZ_HOST=host.docker.internal
- MARQUEZ_PORT=5002
image: "marquezproject/marquez-web:${MARQUEZ_VERSION:-0.50.0}"
ports:
- "3001:3000"
marquez-data:
command: [-c, /tmp/scripts/init.sh]
container_name: marquez-data
depends_on:
marquez-server:
condition: service_healthy
entrypoint: /bin/bash
environment:
- "MARQUEZ_URL=http://marquez:5000"
image: "marquezproject/marquez:${MARQUEZ_VERSION:-0.50.0}"
volumes:
- "./data/marquez/init.sh:/tmp/scripts/init.sh"
- "${MARQUEZ_DATA:-./data/marquez/data}:/tmp/data"
marquez-server:
container_name: marquez
depends_on:
postgres:
condition: service_completed_successfully
environment:
- MARQUEZ_CONFIG=/opt/app/marquez.yaml
- MARQUEZ_PORT=5000
- MARQUEZ_ADMIN_PORT=5001
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=marquez
- "POSTGRES_USER=${POSTGRES_USER:-postgres}"
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}"
healthcheck:
interval: 10s
retries: 3
test: [CMD, curl, --fail, "http://localhost:5001/healthcheck"]
timeout: 5s
image: "marquezproject/marquez:${MARQUEZ_VERSION:-0.50.0}"
ports:
- "5002:5000"
- "5001:5001"
volumes:
- "./data/marquez/conf:/opt/app"
metabase:
container_name: metabase
depends_on:
postgres:
condition: service_completed_successfully
environment:
MB_DB_DBNAME: metabase
MB_DB_HOST: postgres
MB_DB_PASS: postgres
MB_DB_PORT: 5432
MB_DB_TYPE: postgres
MB_DB_USER: postgres
healthcheck:
interval: 15s
retries: 5
test: [CMD-SHELL, curl, --fail, -I, http://localhost:3000/api/health || exit 1]
timeout: 5s
image: "metabase/metabase:${METABASE_VERSION:-v0.51.4}"
ports:
- "3000:3000"
volumes:
- /dev/urandom:/dev/random:ro
minio:
command: [server, /data, --console-address, ":9001"]
container_name: minio
environment:
- "MINIO_ROOT_USER=${MINIO_USER:-minioadmin}"
- "MINIO_ROOT_PASSWORD=${MINIO_PASSWORD:-minioadmin}"
healthcheck:
interval: 5s
retries: 3
test: [CMD, mc, ready, local]
timeout: 5s
image: "quay.io/minio/minio:${MINIO_VERSION:-RELEASE.2024-06-04T19-20-08Z}"
ports:
- "9000:9000"
- "9001:9001"
mongodb:
command: [/bin/sh, -c, /opt/app/my_data.sh]
container_name: mongodb-connect
depends_on:
- mongodb-server
environment:
- "CONN_STR=mongodb://${MONGODB_USER:-user}:${MONGODB_PASSWORD:-password}@mongodb-server"
image: "mongodb/mongodb-community-server:${MONGODB_VERSION:-8.0.3-ubi8}"
volumes:
- "./data/mongodb:/opt/app"
mongodb-server:
container_name: mongodb
environment:
- "MONGO_INITDB_ROOT_USERNAME=${MONGODB_USER:-user}"
- "MONGO_INITDB_ROOT_PASSWORD=${MONGODB_PASSWORD:-password}"
image: "mongo:${MONGODB_VERSION:-8.0.3}"
ports:
- "27017:27017"
mssql:
container_name: mssql
environment:
- "SA_PASSWORD=${MSSQL_PASSWORD:-yourStrong(!)Password}"
- ACCEPT_EULA=Y
healthcheck:
interval: 10s
retries: 10
test: [CMD-SHELL, mssql-health-check]
timeout: 10s
image: "mcr.microsoft.com/mssql/server:${MSSQL_VERSION:-2022-latest}"
ports:
- "1433:1433"
volumes:
- "./data/mssql/mssql-health-check:/usr/local/bin/mssql-health-check"
mysql:
command: [/bin/bash, -c, /tmp/scripts/init.sh]
container_name: mysql-data
depends_on:
mysql-server:
condition: service_healthy
environment:
- "MYSQL_PASSWORD=${MYSQL_PASSWORD:-root}"
image: "mysql:${MYSQL_VERSION:-9.1.0}"
volumes:
- "./data/mysql/init.sh:/tmp/scripts/init.sh"
- "${MYSQL_DATA:-./data/mysql/data}:/tmp/data"
mysql-server:
container_name: mysql
environment:
- "MYSQL_ROOT_PASSWORD=${MYSQL_PASSWORD:-root}"
healthcheck:
interval: 5s
retries: 3
test: [CMD, mysqladmin, ping, -h, localhost, -u, root, -p$$MYSQL_ROOT_PASSWORD]
timeout: 5s
image: "mysql:${MYSQL_VERSION:-9.1.0}"
ports:
- "3306:3306"
neo4j:
container_name: neo4j
environment:
- NEO4J_AUTH=none
healthcheck:
interval: 30s
retries: 5
test: [CMD-SHELL, "cypher-shell -u neo4j -p test 'RETURN 1' || exit 1"]
timeout: 10s
image: "neo4j:${NEO4J_VERSION:-5.25.1}"
ports:
- "7474:7474"
- "7687:7687"
openmetadata:
command:
- /opt/airflow/ingestion_dependency.sh
container_name: openmetadata-ingestion
depends_on:
openmetadata-server:
condition: service_healthy
entrypoint: /bin/bash
env_file: ./data/openmetadata-ingestion/env/docker.env
environment:
- "DB_USER=${MYSQL_USER:-root}"
- "DB_USER_PASSWORD=${MYSQL_PASSWORD:-root}"
healthcheck:
interval: 30s
retries: 5
start_period: 30s
test: [CMD, curl, --fail, "http://localhost:8080/health"]
timeout: 10s