-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
71 lines (65 loc) · 1.41 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
version: '3'
services:
bot:
build: ./
environment:
- NODE_ENV
- PORT
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=postgres
- DB_PASS=postgres
- DB_NAME=postgres
- DB_LOGS
- SENTRY_DSN
- EL_API_URLS
- LOG_FORMAT=simple
- LOG_LEVEL=debug
- WORKER_UPDATE_CRON=* * * * *
- METRICS_RETENTION_CRON=* * * * *
- STAKE_EVENTS_CRON=* * * * *
- MONIKERS_JSON=/app/monikers.json
- TRACKED_IDS
- DELEGATORS
- CHAIN_ID
- START_BLOCK
- BLOCK_HANDLE_CHUNK
- DRY_RUN
ports:
- ${PORT}:${PORT}
volumes:
- ./monikers.json:/app/monikers.json
restart: unless-stopped
depends_on:
- postgres
postgres:
image: postgres:14.4-alpine
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=postgres
ports:
- ${DB_PORT}:5432
grafana:
image: grafana/grafana:8.4.6
restart: unless-stopped
volumes:
- ./grafana:/etc/grafana/provisioning
ports:
- 3000:3000
prometheus:
image: prom/prometheus:v2.35.0
ports:
- 9090:9090
volumes:
- ./prometheus:/etc/prometheus
- prometheus-data:/prometheus
restart: unless-stopped
alertmanager:
image: prom/alertmanager:v0.25.0
volumes:
- ./alertmanager:/etc/alertmanager
restart: unless-stopped
volumes:
prometheus-data:
# vim: set ts=2 sw=2: