-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (50 loc) · 1.36 KB
/
docker-compose.yml
File metadata and controls
55 lines (50 loc) · 1.36 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
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_RPC_URL=${RPC_URL}
- NEXT_PUBLIC_MONITOR_ADDRESS=${MONITOR_ADDRESS}
- NEXT_PUBLIC_CHAIN_ID=${CHAIN_ID}
- NEXT_PUBLIC_REGISTRY_ADDRESS=${REGISTRY_ADDRESS}
- NEXT_PUBLIC_INCIDENT_MANAGER_ADDRESS=${INCIDENT_MANAGER_ADDRESS}
restart: always
alert-dispatcher:
build:
context: .
dockerfile: Dockerfile.scripts
command: node scripts/alert-dispatcher.js
environment:
- RPC_URL=${RPC_URL}
- INCIDENT_MANAGER_ADDRESS=${INCIDENT_MANAGER_ADDRESS}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
restart: always
analytics-engine:
build:
context: .
dockerfile: Dockerfile.scripts
command: node scripts/analytics-engine.js
environment:
- RPC_URL=${RPC_URL}
- INCIDENT_MANAGER_ADDRESS=${INCIDENT_MANAGER_ADDRESS}
restart: always
prometheus:
image: prom/prometheus:latest
ports:
- "9090:9090"
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
restart: always
grafana:
image: grafana/grafana:latest
ports:
- "3001:3000"
volumes:
- grafana-storage:/var/lib/grafana
restart: always
volumes:
grafana-storage: