deploiy new Docker Compose setup for Geth nodes

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-03-29 13:27:00 +02:00
parent e6532b2217
commit dbce2ffc5d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 9 additions and 13 deletions

View File

@ -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

View File

@ -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