-
Notifications
You must be signed in to change notification settings - Fork 117
/
docker-compose.yml
58 lines (57 loc) · 1.61 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
---
version: '3'
services:
zookeeper:
image: zookeeper:3.7.0
restart: always
hostname: zookeeper
ports:
- "52181:2181"
environment:
ALLOW_ANONYMOUS_LOGIN: 1
ZOO_4LW_COMMANDS_WHITELIST: "*"
security_opt:
- label:disable
kafka:
image: confluentinc/cp-kafka:7.5.3
container_name: kafka
restart: always
hostname: kafka
ports:
- "9092:9092"
- "9093:9093"
environment:
KAFKA_ADVERTISED_LISTENERS: "LISTENER_DOCKER_INTERNAL://127.0.0.1:9092,LISTENER_DOCKER_EXTERNAL://127.0.0.1:9093"
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: LISTENER_DOCKER_INTERNAL:PLAINTEXT,LISTENER_DOCKER_EXTERNAL:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME: LISTENER_DOCKER_INTERNAL
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"
KAFKA_BROKER_ID: 1
KAFKA_LOG4J_LOGGERS: "kafka.controller=INFO,kafka.producer.async.DefaultEventHandler=INFO,state.change.logger=INFO"
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
depends_on:
- zookeeper
security_opt:
- label:disable
clickhouse:
image: clickhouse/clickhouse-server:23.8
restart: always
ports:
- "58123:8123"
- "59000:9000"
ulimits:
nofile:
soft: 262144
hard: 262144
volumes:
- "./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d"
- "./docker/metrika.xml:/etc/clickhouse-server/config.d/metrika.xml"
security_opt:
- label:disable
nacos:
image: nacos/nacos-server:1.4.1
container_name: nacos-standalone
environment:
- PREFER_HOST_MODE=hostname
- MODE=standalone
ports:
- "58848:8848"