forked from ethpandaops/ansible-collection-general
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yaml
61 lines (59 loc) · 1.39 KB
/
main.yaml
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
dshackle_user: dshackle
dshackle_datadir: /data/dshackle
dshackle_container_image: emeraldpay/dshackle
dshackle_container_name: dshackle
dshackle_container_published_ports: []
dshackle_container_restart_policy: always
dshackle_container_networks_cli_compatible: true
dshackle_container_network_mode: default
dshackle_container_networks: []
dshackle_container_volumes_from: []
dshackle_container_volumes:
- "{{ dshackle_datadir }}/dshackle.yaml:/etc/dshackle/dshackle.yaml"
dshackle_container_env:
INFURA_USER: ""
REDIS_PASSWORD: ""
dshackle_config: |
version: v1
port: 2449
tls:
enabled: false
proxy:
host: 0.0.0.0
port: 8545
routes:
- id: eth
blockchain: ethereum
cluster:
upstreams:
- id: infura-eth
chain: ethereum
connection:
ethereum:
rpc:
url: "https://mainnet.infura.io/v3/${INFURA_USER}"
ws:
url: "wss://mainnet.infura.io/ws/v3/${INFURA_USER}"
monitoring:
enabled: true
jvm: false
extended: false
prometheus:
enabled: true
bind: 0.0.0.0
port: 8081
path: /metrics
health:
port: 8082
host: 0.0.0.0
path: /health
blockchains:
- chain: ethereum-mainnet
min-available: 1
cache:
redis:
enabled: false
host: dshackle-redis-master
port: 6379
db: 0
password: ${REDIS_PASSWORD}