-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
75 lines (69 loc) · 1.75 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
73
74
75
version: "3.7"
networks:
oracle_network:
driver: bridge
services:
oracle:
image: public.ecr.aws/skip-mev/oracleops-sidecar:latest
entrypoint:
[
"oracle",
"--oracle-config-path",
"/etc/slinky/default_config/oracle.json",
"--market-config-path",
"/etc/slinky/default_config/market.json",
"--host",
"0.0.0.0",
"--port",
"8080",
"--pprof-port",
"6060",
"--run-pprof",
"true",
]
ports:
- "8080:8080" # main oracle port
- "8002:8002" # oracle metrics port
- "6060:6060" # pprof port
networks:
- oracle_network
prometheus:
image: prom/prometheus
ports:
- "9090:9090"
volumes:
- ./contrib/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ./contrib/prometheus/rules.yml:/etc/prometheus/rules.yml
networks:
- oracle_network
blockchain:
image: public.ecr.aws/skip-mev/oracleops-chain:latest
ports:
- "26656:26656"
- "26657:26657"
- "1317:1317" # used to query the blockchain
- "7171:7171"
- "26655:26655"
- "8001:8001" # app side oracle metrics
networks:
- oracle_network
grafana:
image: grafana/grafana:10.4.1
restart: unless-stopped
ports:
- '3000:3000'
volumes:
- ./contrib/grafana/config:/etc/grafana/provisioning/
networks:
- oracle_network
alertmanager:
image: prom/alertmanager
volumes:
- ./contrib/alertmanager:/etc/alertmanager # Mounts the local alertmanager directory to the container
ports:
- "9093:9093"
command:
- '--config.file=/etc/alertmanager/alertmanager.yml'
- '--storage.path=/alertmanager'
networks:
- oracle_network