forked from spectre-project/spectre-stratum-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-all.yml
45 lines (45 loc) · 1.08 KB
/
docker-compose-all.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
volumes:
prometheus_data: {}
services:
spr_bridge:
image: spectrenetwork/spectre_bridge:latest
container_name: spr_bridge
restart: unless-stopped
user: "0"
command:
- '-log=true'
- '-stats=false'
- '-stratum=:5555'
- '-prom=:2114'
- '-spectre=host.docker.internal:18110'
- '-mindiff=64'
- '-vardiff=true'
ports:
- 5555:5555
- 2114:2114
extra_hosts:
- host.docker.internal:host-gateway
grafana:
image: grafana/grafana-oss:latest
container_name: spr_grafana
restart: unless-stopped
user: "0"
volumes:
- ./docker/grafana:/var/lib/grafana
# env_file:
# - ./docker/grafana.env
ports:
- 3000:3000
extra_hosts:
- host.docker.internal:host-gateway
prometheus:
image: prom/prometheus:latest
container_name: spr_prom
restart: unless-stopped
volumes:
- prometheus_data:/prometheus
- ./docker/prometheus-internal.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
extra_hosts:
- host.docker.internal:host-gateway