forked from kestra-io/kestra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-ci.yml
73 lines (69 loc) · 1.74 KB
/
docker-compose-ci.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
services:
zookeeper:
image: confluentinc/cp-zookeeper
environment:
ZOOKEEPER_CLIENT_PORT: 2181
healthcheck:
test: nc -z localhost 2181 || exit 1
interval: 10s
timeout: 5s
retries: 10
start_period: 10s
kafka:
image: confluentinc/cp-kafka
environment:
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092
KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
depends_on:
zookeeper:
condition: service_healthy
healthcheck:
test: echo "exit" | curl -s -f telnet://localhost:9092 || exit 1
interval: 30s
timeout: 10s
retries: 10
ports:
- 9092:9092
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.2.3
environment:
discovery.type: single-node
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
xpack.security.enabled: "false"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
ports:
- 9200:9200
healthcheck:
test: curl -s -f localhost:9200/_cat/health >/dev/null || exit 1
interval: 30s
timeout: 10s
retries: 10
mysql:
image: mysql
environment:
MYSQL_DATABASE: kestra
MYSQL_USER: kestra
MYSQL_PASSWORD: k3str4
MYSQL_ROOT_PASSWORD: "p4ssw0rd"
command:
- --log-bin-trust-function-creators=1
ports:
- 3306:3306
postgres:
image: postgres
environment:
POSTGRES_DB: kestra
POSTGRES_USER: kestra
POSTGRES_PASSWORD: k3str4
ports:
- 5432:5432