-
Notifications
You must be signed in to change notification settings - Fork 11
/
docker-compose.yml
50 lines (46 loc) · 960 Bytes
/
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
version: '3'
services:
core:
network_mode: host
build: .
volumes:
- .:/usr/src/core
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
depends_on:
- clickhouse
- parity
command: start #prepare-database
restart: always
clickhouse:
build: ./clickhouse-config/
ports:
- "9000:9000"
- "8123:8123"
logging:
options:
max-size: "50m"
volumes:
- ./clickhouse:/var/lib/clickhouse:Z
restart: always
parity:
image: openethereum/openethereum:latest
ports:
- "8545:8545"
command: --mode=active --jsonrpc-interface=all --tracing=on --db-path /db
volumes:
- ./parity:/db:Z
grafana:
network_mode: host
build: ./grafana/
depends_on:
- clickhouse
ports:
- "3000:3000"
restart: always
clickhouse_client:
network_mode: host
image: yandex/clickhouse-client:latest
depends_on:
- clickhouse