-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-local.yml
73 lines (66 loc) · 1.69 KB
/
docker-compose-local.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
version: '3.8'
services:
ic_websocket_gateway:
build:
context: .
dockerfile: ./Dockerfile
image: local/ic-websocket-gateway
ports:
- "8080:8080"
command:
[
"--gateway-address",
"0.0.0.0:8080",
"--ic-network-url",
"${IC_URL}",
"--polling-interval",
"${POLLING_INTERVAL}",
"--opentelemetry-collector-endpoint",
"${OPENTELEMETRY_COLLECTOR_ENDPOINT}",
]
env_file:
- .env.local
otlp_collector:
env_file:
- .env.local
grafana:
image: grafana/grafana-enterprise
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
env_file:
- .env.local
volumes:
- grafana-storage:/var/lib/grafana
- ./telemetry/grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
- ./telemetry/grafana-dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml
- ./telemetry/dashboards:/etc/dashboards
networks:
- ic-ws-gateway-network
depends_on:
- tempo
tempo:
image: grafana/tempo:latest
container_name: tempo
restart: unless-stopped
ports:
- "3200:3200" # tempo server
- "4318:4318" # otlp grpc receiver
command: ["-config.file=/etc/tempo.yaml"]
volumes:
- ./telemetry/tempo-config.yaml:/etc/tempo.yaml
- tempo-data:/tmp/tempo
networks:
- ic-ws-gateway-network
prometheus:
volumes:
- "./telemetry/prometheus/prometheus-local.yml:/etc/prometheus/prometheus.yml"
networks:
ic-ws-gateway-network:
name: ic-ws-gateway-network
volumes:
tempo-data:
name: tempo-data
grafana-storage:
name: grafana-storage