-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (56 loc) · 1.91 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
version: "3.7"
services:
logstash_ingest:
image: stardust-snmp-pipeline-oss:latest
build:
dockerfile: docker/Dockerfile
context: .
restart: on-failure
env_file: .ingest.env
volumes:
- ./pipeline_ingest:/usr/share/logstash/pipeline_ingest/
- ./pipeline_ingest_processor:/usr/share/logstash/pipeline_ingest_processor/
- ./conf/logstash.ingest.yml:/usr/share/logstash/config/logstash.yml
- ./conf/pipelines.ingest.yml:/usr/share/logstash/config/pipelines.yml
- ./pipeline_etc/certificates:/etc/stardust/pipeline/certificates
logstash_aggregate:
image: stardust-snmp-pipeline-oss:latest
restart: on-failure
env_file: .aggregate.env
volumes:
- ./pipeline_aggregate:/usr/share/logstash/pipeline_aggregate/
- ./conf/logstash.aggregate.yml:/usr/share/logstash/config/logstash.yml
- ./conf/pipelines.aggregate.yml:/usr/share/logstash/config/pipelines.yml
- ./pipeline_etc/certificates:/etc/stardust/pipeline/certificates
redis:
image: redis:6.2.4
restart: on-failure
env_file: .ingest.env
ports:
- "6379:6379"
zookeeper:
image: 'bitnami/zookeeper:3'
ports:
- '2181:2181'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: 'bitnami/kafka:latest'
ports:
- '9092'
- '29091:29091'
volumes:
- ./conf:/etc/kafka_client
- ./tests:/usr/lib/stardust/tests
environment:
- KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181
- ALLOW_PLAINTEXT_LISTENER=yes
- KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
- KAFKA_CFG_LISTENERS=PLAINTEXT://:9092,PLAINTEXT_HOST://:29091
- KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29091
- KAFKA_CFG_INTER_BROKER_LISTENER_NAME=PLAINTEXT
- KAFKA_DELETE_TOPIC_ENABLE=true
networks:
default:
external:
name: stardust_snmp