generated from hashicorp/terraform-provider-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose-ci.yml
63 lines (58 loc) · 1.66 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
services:
zookeeper:
image: confluentinc/cp-zookeeper
environment:
ZOOKEEPER_CLIENT_PORT: 2181
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://kafka:9092
KAFKA_CONFLUENT_SUPPORT_METRICS_ENABLE: 'false'
links:
- zookeeper
depends_on:
- zookeeper
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.2.3
environment:
discovery.type: single-node
cluster.routing.allocation.disk.threshold_enabled: "false"
xpack.security.enabled: "false"
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 127.27.27.27:9200:9200
kestra:
image: ghcr.io/kestra-io/kestra-ee:develop
command: server standalone
volumes:
- ./.github/docker/application.yml:/app/confs/application.yml:ro
- ./.github/docker/application-secrets.yml:/app/secrets/application-secrets.yml:ro
environment:
MICRONAUT_CONFIG_FILES: /app/confs/application.yml,/app/secrets/application-secrets.yml
ports:
- 127.27.27.27:8080:8080
links:
- kafka
- zookeeper
- vault
depends_on:
- kafka
- zookeeper
- vault
vault:
image: hashicorp/vault
cap_add:
- IPC_LOCK
environment:
VAULT_ADDR: http://localhost:8200
VAULT_TOKEN: my-vault-root-token
VAULT_LOG_LEVEL: DEBUG
VAULT_DEV_ROOT_TOKEN_ID: my-vault-root-token