-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nimbus-prater-windows: deploy dedicated Geth nodes
#125 Signed-off-by: Jakub Sokołowski <[email protected]>
- Loading branch information
Showing
7 changed files
with
98 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
# Geth node | ||
geth_service_name: 'geth-goerli-{{ "%02d"|format(idx|int+1) }}' | ||
geth_service_path: '/docker/{{ geth_service_name }}' | ||
geth_cont_name: '{{ geth_service_name }}-node' | ||
geth_cont_vol: '{{ geth_service_path }}/node' | ||
geth_network_name: 'goerli' | ||
geth_sync_mode: 'full' | ||
geth_log_level_name: info | ||
# Geth auth & JWT token | ||
geth_account_pass: '{{lookup("bitwarden", "nimbus/geth", field="password")}}' | ||
geth_authrpc_jwtsecret: '{{lookup("bitwarden", "nimbus/jwt-token")}}' | ||
# Memory settings | ||
geth_cont_mem_ratio: 0.8 | ||
geth_cache_size: '{{ (ansible_memtotal_mb * 0.25|float) | int }}' | ||
# Ports | ||
geth_port: '{{ 30303 + (idx|int) + 1 }}' | ||
geth_rpc_port: '{{ 8545 + (idx|int) + 1 }}' | ||
geth_metrics_port: '{{ 6060 + (idx|int) + 1 }}' | ||
geth_websocket_port: '{{ 9546 + (idx|int) + 1 }}' | ||
geth_authrpc_port: '{{ 8551 + (idx|int) + 1 }}' | ||
geth_authrpc_addr: '0.0.0.0' | ||
|
||
# Geth metrics | ||
geth_expo_service_name: '{{ geth_service_name }}' | ||
geth_expo_source_cont_name: '{{ geth_cont_name }}' | ||
geth_expo_source_data_path: '{{ geth_cont_vol }}/data' | ||
geth_expo_cont_port: '{{ 9400 + (idx|int) + 1 }}' | ||
|
||
# Open Ports | ||
open_ports_default_comment: 'Geth API' | ||
open_ports_default_chain: 'VPN' | ||
open_ports_list: | ||
- { port: '9400:9404', ipset: 'metrics.hq', comment: 'Geth Metrics' } | ||
- { port: '8551:8554', ipset: 'nimbus.prater' } | ||
|
||
nodes_layout: | ||
'windows-goerli-01.he-eu-hel1.nimbus.geth': | ||
- { } | ||
- { } | ||
- { } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
# Scans affect disk I/O performance. | ||
bootstrap__defender_enabled: false | ||
|
||
# HTTP RPC support is unstable | ||
beacon_node_web3_urls: ['http://windows-goerli-01.he-eu-hel1.nimbus.geth.wg:{{ geth_authrpc_port }}'] | ||
beacon_node_web3_jwt_secret: '{{ geth_authrpc_jwtsecret }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
# Scans affect disk I/O performance. | ||
bootstrap__defender_enabled: false | ||
|
||
# HTTP RPC support is unstable | ||
beacon_node_web3_urls: ['http://windows-goerli-01.he-eu-hel1.nimbus.geth.wg:{{ geth_authrpc_port }}'] | ||
beacon_node_web3_jwt_secret: '{{ geth_authrpc_jwtsecret }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ | |
|
||
- name: infra-role-wireguard | ||
src: [email protected]:status-im/infra-role-wireguard.git | ||
version: 9d8c93bc44ec123b81b9912f10e377e9b953ea5a | ||
version: 544b1f0435d5ca47168236c42b6a077c44d5eb4a | ||
scm: git | ||
|
||
- name: oauth-proxy | ||
|
@@ -76,7 +76,7 @@ | |
|
||
- name: infra-role-rocketpool | ||
src: [email protected]:status-im/infra-role-rocketpool.git | ||
version: 46764e947a5ae6a66d172efc99f07dd62fd9ef81 | ||
version: dad93aa3af1103734e0d68fad131644156fef685 | ||
scm: git | ||
|
||
- name: infra-role-winsw | ||
|