-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
128 lines (126 loc) · 3.56 KB
/
docker-compose.yml
File metadata and controls
128 lines (126 loc) · 3.56 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
services:
jasminegraph:
image: jasminegraph:latest
ports:
- '7777:7777'
- '7778:7778'
volumes:
- '/var/run/docker.sock:/var/run/docker.sock:rw'
- './env/databases/metadb:/home/ubuntu/software/jasminegraph/metadb'
- './env/databases/performancedb:/home/ubuntu/software/jasminegraph/performancedb'
- './env/data:/var/tmp/data'
- '/tmp/jasminegraph:/tmp/jasminegraph'
- '/var/tmp/jasminegraph:/var/tmp/jasminegraph'
- './conf:/home/ubuntu/software/jasminegraph/conf'
networks:
jasminenet:
ipv4_address: 172.28.5.7
command: --MODE 1 --MASTERIP 172.28.5.1 --WORKERS 2 --WORKERIP 172.28.5.1 --ENABLE_NMON false
depends_on:
- prometheus
- kafka
- alloy
- grafana
- tempo
prometheus:
image: prom/prometheus:latest
ports:
- 9090:9090
volumes:
- './conf/prometheus.yaml:/etc/prometheus/prometheus.yml'
- './prometheus_data:/prometheus'
networks:
jasminenet:
ipv4_address: 172.28.5.2
depends_on:
- pushgateway
pushgateway:
image: prom/pushgateway
ports:
- 9091:9091
networks:
jasminenet:
ipv4_address: 172.28.5.3
kafka:
image: apache/kafka:3.9.0
ports:
- 9092:9092
environment:
KAFKA_NODE_ID: 1
KAFKA_PROCESS_ROLES: broker,controller
KAFKA_LISTENERS: PLAINTEXT://172.28.5.8:9092,CONTROLLER://172.28.5.8:9093
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://172.28.5.8:9092
KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT
KAFKA_CONTROLLER_QUORUM_VOTERS: 1@172.28.5.8:9093
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: 1
KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: 1
KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS: 0
KAFKA_NUM_PARTITIONS: 3
CLUSTER_ID: ciWo7IWazngRchmPES6q5A==
networks:
jasminenet:
ipv4_address: 172.28.5.8
alloy:
image: grafana/alloy:latest
ports:
- 12345:12345
volumes:
- ./config.alloy:/etc/alloy/config.alloy
- /var/run/docker.sock:/var/run/docker.sock
command: run --server.http.listen-addr=0.0.0.0:12345 --storage.path=/var/lib/alloy/data /etc/alloy/config.alloy
depends_on:
- loki
networks:
jasminenet:
ipv4_address: 172.28.5.4
loki:
image: grafana/loki:latest
ports:
- "3100:3100"
volumes:
- ./loki-config.yaml:/etc/loki/local-config.yaml
command: -config.file=/etc/loki/local-config.yaml
networks:
jasminenet:
ipv4_address: 172.28.5.5
grafana:
build:
context: .
dockerfile: Dockerfile.grafana
environment:
- GF_FEATURE_TOGGLES_ENABLE=grafanaManagedRecordingRules
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_BASIC_ENABLED=false
- GF_SECURITY_ALLOW_EMBEDDING=true
- GF_SECURITY_X_FRAME_OPTIONS=ALLOWALL
ports:
- 3001:3000
networks:
jasminenet:
ipv4_address: 172.28.5.6
tempo:
image: grafana/tempo:latest
ports:
- "3200:3200"
- "4317:4317"
- "4318:4318"
- "14268:14268"
volumes:
- ./tempo-config.yaml:/etc/tempo.yaml
command: -config.file=/etc/tempo.yaml
networks:
jasminenet:
ipv4_address: 172.28.5.9
networks:
jasminenet:
external: false
name: jasminenet
driver: bridge
ipam:
config:
- subnet: 172.28.5.0/24
ip_range: 172.28.5.0/24
gateway: 172.28.5.1