-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
86 lines (77 loc) · 1.98 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
---
version: "3"
services:
elasticsearch:
image: elasticsearch:8.4.3
container_name: elasticsearch
hostname: elasticsearch
restart: always
environment:
- xpack.security.enabled=false
- discovery.type=signel-node
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
cap_add:
- IPC_LOCK
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
ports:
- 9200:9200
kibana:
depends_on:
- elasticsearch
image: kibana:8.4.3
container_name: kibana
hostname: kibana
restart: always
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
ports:
- 5601:5601
logstash:
depends_on:
- elasticsearch
image: logstash:8.4.3
container_name: logstash
hostname: logstash
restart: always
volumes:
- elasticsearch-data:/logstash/pipeline # à gauche l'hôte et à droite le conteneur
ports:
- 5044:5044
# Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination.
zookeeper:
image: zookeeper:3.8.0-temurin
container_name: zookeeper
hostname: zoopeeker
restart: always
ports:
- 2181:2181
environment:
- ZOO_MY_ID=1
# Ecrit en Java/Scala. Apache Kafka est une plateforme open source d'agents de messages (brokers) en temps réel. Notions de topics, producers/consumers
kafka:
image: wurstmeister/kafka:2.13-2.8.1
container_name: kafka
hostname: kafka
ports:
- 9092:9092
environment:
- KAFKA_ADVERTISED_HOST_NAME=192.168.0.17 # Changer par l'ip de notre machine
- KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
kafka-manager:
image: scjtqs/kafka-manager
container_name: kafka-manager
hostname: kafka-manager
restart: always
ports:
- 9000:9000
environment:
- ZK_HOSTS=zookeeper:2181
- APPLICATION_SECRET=random-secret
command: -Dpidfile.path=/dev/null