-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
72 lines (68 loc) · 1.78 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
72
version: "3.3"
services:
db:
image: postgres:9.6-alpine
restart: always
stop_grace_period: 2m
stop_signal: SIGTERM
tty: true
environment:
POSTGRES_DB: hedera_validator
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_USER: ${POSTGRES_USER}
volumes:
- ./db:/var/lib/postgresql/data
ports:
- 5432:5432
validator:
image: gcr.io/hedera-eth-bridge-test/hedera-eth-bridge-validator:${TAG}
environment:
VERSION_TAG: ${TAG}
VALIDATOR_DATABASE_HOST: db
restart: always
tty: true
volumes:
- ./bridge.yml:/src/hedera-eth-bridge-validator/config/bridge.yml
- ./node.yml:/src/hedera-eth-bridge-validator/config/node.yml
ports:
- 80:5200
depends_on:
- "db"
logging:
driver: fluentd
prometheus:
image: prom/prometheus:v2.34.0
container_name: prometheus
restart: unless-stopped
ports:
- 9090:9090
command:
- --config.file=/etc/prometheus/prometheus.yml
- --web.enable-lifecycle
volumes:
- ./monitoring/prometheus:/etc/prometheus
- ./monitoring/prometheus_data:/prometheus
links:
- alertmanager:alertmanager
alertmanager:
image: prom/alertmanager:v0.24.0
ports:
- 9093:9093
volumes:
- ./monitoring/alertmanager:/etc/alertmanager
restart: always
command:
- '--config.file=/etc/alertmanager/config.yml'
- '--storage.path=/alertmanager'
grafana:
image: grafana/grafana:8.4.5
container_name: grafana
restart: unless-stopped
env_file: ./monitoring/grafana/config-overrides.env
ports:
- 3000:3000
volumes:
- ./monitoring/grafana/provisioning:/etc/grafana/provisioning/
- ./monitoring/grafana_data:/var/lib/grafana
depends_on:
- prometheus