mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-18 17:52:17 +00:00
deploiy new Docker Compose setup for Geth nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
e6532b2217
commit
dbce2ffc5d
@ -5,9 +5,8 @@
|
||||
swap_file_size_mb: 4096
|
||||
|
||||
# Geth node
|
||||
geth_service_name: 'nimbus-goerli'
|
||||
geth_network_name: 'goerli'
|
||||
geth_cont_name: 'geth-{{ geth_network_name }}'
|
||||
geth_extra_alias: '{{ geth_cont_name }}'
|
||||
geth_sync_mode: 'full'
|
||||
geth_log_level_name: info
|
||||
geth_websocket_enabled: true
|
||||
@ -15,15 +14,14 @@ geth_websocket_enabled: true
|
||||
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
|
||||
# Allow connections from our Tinc VPN
|
||||
geth_websocket_origins: '*'
|
||||
|
||||
# Memory settings
|
||||
geth_cont_mem_ratio: 0.7
|
||||
geth_cache_size: '{{ (ansible_memtotal_mb * 0.25|float) | int }}'
|
||||
|
||||
# Geth metrics
|
||||
geth_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_cont_name: '{{ geth_cont_name }}-metrics'
|
||||
geth_expo_consul_id: '{{ geth_expo_cont_name }}'
|
||||
geth_expo_service_name: '{{ geth_service_name }}'
|
||||
geth_expo_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
|
||||
|
||||
# Ports
|
||||
geth_port: 30303
|
||||
|
@ -1,13 +1,12 @@
|
||||
---
|
||||
# This node is used as replacement for Infura for end-to-end tests.
|
||||
# This will be is used instead of Infura for Eth2 Mainnet Nimbus nodes.
|
||||
|
||||
# Syncing can use a lot of mamory
|
||||
swap_file_size_mb: 4096
|
||||
|
||||
# Geth node
|
||||
geth_service_name: 'nimbus-mainnet'
|
||||
geth_network_name: 'mainnet'
|
||||
geth_cont_name: 'geth-{{ geth_network_name }}'
|
||||
geth_extra_alias: '{{ geth_cont_name }}'
|
||||
geth_sync_mode: 'fast'
|
||||
geth_log_level_name: info
|
||||
geth_websocket_enabled: true
|
||||
@ -15,14 +14,13 @@ geth_websocket_enabled: true
|
||||
geth_account_pass: '{{lookup("passwordstore", "service/Nimbus-Geth/password")}}'
|
||||
# Allow connections from our Tinc VPN
|
||||
geth_websocket_origins: '*'
|
||||
|
||||
# Memory settings
|
||||
geth_cont_mem_ratio: 0.7
|
||||
|
||||
# Geth metrics
|
||||
geth_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_cont_name: '{{ geth_cont_name }}-metrics'
|
||||
geth_expo_consul_id: '{{ geth_expo_cont_name }}'
|
||||
geth_expo_service_name: '{{ geth_service_name }}'
|
||||
geth_expo_source_cont_name: '{{ geth_cont_name }}'
|
||||
geth_expo_source_data_path: '{{ geth_cont_vol }}/data'
|
||||
|
||||
# Ports
|
||||
geth_port: 30303
|
||||
|
Loading…
x
Reference in New Issue
Block a user