-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
106 lines (99 loc) · 2.64 KB
/
Copy pathdocker-compose.yml
File metadata and controls
106 lines (99 loc) · 2.64 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
services:
eth-node:
build: eth-node
container_name: eth-node
restart: on-failure:3
volumes:
- eth-data:/root/vm_pos
- ./eth-node/entrypoint.sh:/root/vm_pos/entrypoint.sh:ro
ports:
- "8545:8545"
- "8551:8551"
- "30303:30303"
- "30303:30303/udp"
- "8549:8549"
- "8555:8555"
- "8569:8569"
- "9000:9000"
- "9000:9000/udp"
- "5052:5052"
- "30308:30308"
- "30308:30308/udp"
- "8005:8005"
- "9005:9005"
- "9005:9005/udp"
environment:
- PATH=/root/vm_pos/precompiled_exes:${PATH}
- WALLET_ADDRESS=/run/secrets/wallet-address
- EXEC_ENDPOINT=http://0.0.0.0:8555
secrets:
- wallet-address
influxdb3:
image: quay.io/influxdb/influxdb3-core@sha256:3d6d27516a691c09dc06a9d66eea246b8aa269b7bf062cfe19262ba8c5add839
container_name: influxdb3
restart: always
ports:
- "8086:8181"
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_PASSWORD_FILE: /run/secrets/influxdb3-admin-password
secrets:
- influxdb3-api-token
volumes:
- influxdb3-data:/var/lib/influxdb3
- influxdb3-config:/etc/influxdb3
- ./influxdb3/init.sh:/init.sh:ro
depends_on:
- eth-node
entrypoint: ["/bin/sh", "/init.sh"]
telegraf:
image: telegraf:latest
container_name: telegraf
restart: on-failure:3
depends_on:
- influxdb3
- eth-node
volumes:
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
environment:
INFLUXDB_TOKEN: /run/secrets/influxdb3-api-token
secrets:
- influxdb3-api-token
grafana:
image: grafana/grafana
container_name: grafana
restart: on-failure:3
ports:
- "3000:3000"
environment:
- GF_PATHS_CONFIG=/etc/grafana/custom.ini
- INFLUXDB_TOKEN_FILE=/run/secrets/influxdb3-api-token
- GF_RENDERING_SERVER_URL=http://renderer:8081/render
- GF_RENDERING_CALLBACK_URL=http://grafana:3000/
- GF_LOG_FILTERS=rendering:debug
secrets:
- influxdb3-api-token
volumes:
- grafana-data:/var/lib/grafana
- ./grafana/custom.ini:/etc/grafana/custom.ini:ro
- ./grafana/provisioning:/etc/grafana/provisioning:ro
depends_on:
- influxdb3
- eth-node
- telegraf
- renderer
renderer:
image: grafana/grafana-image-renderer:latest
restart: on-failure:3
ports:
- "8081:8081"
volumes:
eth-data:
grafana-data:
influxdb3-data:
influxdb3-config:
secrets:
influxdb3-api-token:
file: ./secrets/.env.influxdb3-api-token
wallet-address:
file: ./secrets/.env.wallet-address