-
Notifications
You must be signed in to change notification settings - Fork 0
/
local-compose.yml
130 lines (120 loc) · 2.97 KB
/
local-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
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
129
130
version: "3.8"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.2
deploy:
resources:
limits:
memory: 4Gb
volumes:
- es_data:/usr/share/elasticsearch/data
environment:
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
nofile:
soft: 65535
hard: 65535
ports:
- "9200:9200"
- "9300:9300"
jaeger-collector:
image: jaegertracing/jaeger-collector:latest
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- ES_SERVER_URLS=http://elasticsearch:9200
ports:
- "14250" # where gateway sends to
- "14269:14269"
depends_on:
- elasticsearch
restart: always
jaeger-query:
image: jaegertracing/jaeger-query:latest
environment:
- SPAN_STORAGE_TYPE=elasticsearch
- ES_SERVER_URLS=http://elasticsearch:9200
ports:
- "16685:16685"
- "16686:16686"
- "16687:16687"
depends_on:
- elasticsearch
restart: always
grafana:
image: teamhypha/hypha-grafana:latest
build: ./hypha-grafana/
volumes:
- grafana_data:/var/lib/grafana
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
collector:
image: teamhypha/hypha-collector:latest
build: ./hypha-collector/
command: ["--config", "/otel-config.yaml"]
ports:
- "4317:4317" # grpc host:container
depends_on:
- jaeger-collector
- loki
loki-read:
image: teamhypha/hypha-loki:latest
build: ./hypha-loki/
command: "-config.file=/etc/loki/config-local.yaml -target=read"
depends_on:
- minio
loki-write:
image: teamhypha/hypha-loki:latest
build: ./hypha-loki/
command: "-config.file=/etc/loki/config-local.yaml -target=write"
depends_on:
- minio
minio:
image: minio/minio
entrypoint:
- sh
- -euc
- |
mkdir -p /data/loki-data && \
mkdir -p /data/loki-ruler && \
minio server /data
environment:
- MINIO_ACCESS_KEY=loki
- MINIO_SECRET_KEY=supersecret
- MINIO_PROMETHEUS_AUTH_TYPE=public
- MINIO_UPDATE=off
ports:
- "9000"
volumes:
- minio_data:/data
loki:
image: teamhypha/hypha-loki-nginx:latest
build: ./hypha-loki-nginx/
depends_on:
- loki-read
- loki-write
environment:
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx
- NGINX_RESOLVER=127.0.0.11
- NGINX_LOKI_READ=http://loki-read:3100
- NGINX_LOKI_WRITE=http://loki-write:3100
ports:
- "3100:3100"
nginx:
image: teamhypha/hypha-ui-nginx:latest
build: ./hypha-ui-nginx/
environment:
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx
- NGINX_RESOLVER=127.0.0.11
- NGINX_SERVER=grafana:3000
ports:
- "80:80"
volumes:
es_data:
minio_data:
grafana_data: