-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
90 lines (90 loc) · 2.23 KB
/
docker-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
version: "2.1"
services:
nats:
image: nats-streaming:0.21.2
command: -cid tests
ports:
- 4222:4222
postgres:
image: postgres:alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- 5432:5432
sonyflake:
image: titpetric/sonyflake
ports:
- 8987:80
elastic-es:
image: elasticsearch:8.3.2
restart: always
environment:
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
cluster.name: "test"
xpack.security.enabled: "false"
bootstrap.memory_lock: "true"
discovery.type: "single-node"
volumes:
- "./hunspell:/usr/share/elasticsearch/config/hunspell:ro"
ports:
- 9200:9200
kibana:
image: kibana:8.3.2
restart: always
depends_on:
- elastic-es
environment:
ELASTICSEARCH_URL: http://elastic-es:9200
ELASTICSEARCH_HOSTS: http://elastic-es:9200
ports:
- 5601:5601
minio:
image: minio/minio
command: server /data --console-address ":9001"
ports:
- 9000:9000
- 9001:9001
environment:
- MINIO_ROOT_USER=A8eENTqgEE7uYL7R
- MINIO_ROOT_PASSWORD=82bmVoDRkZgwy4B3PXkLzpXiuqGVZMug
mc:
image: minio/mc
volumes:
- "mc:/root/.mc"
vault:
image: hashicorp/vault
environment:
- VAULT_DEV_ROOT_TOKEN_ID=root
cap_add:
- IPC_LOCK
ports:
- "8200:8200"
kafka:
image: docker.io/bitnami/kafka:3.5
ports:
- "9092:9092"
volumes:
- "kafka_data:/bitnami"
environment:
# KRaft settings
- KAFKA_CFG_NODE_ID=0
- KAFKA_CFG_PROCESS_ROLES=controller,broker
- KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=0@kafka:9093
# Listeners
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://127.0.0.1:9092
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
- KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME=PLAINTEXT
redis:
image: redis:alpine
command: redis-server --save 60 1 --loglevel warning --maxmemory 4G --maxmemory-policy noeviction
ports:
- 6379:6379
volumes:
- redis:/data
volumes:
mc:
kafka_data:
redis: