30 lines
1.3 KiB
YAML
30 lines
1.3 KiB
YAML
---
|
|
nimbus_fluffy_service_name: 'nimbus-fluffy-{{ nimbus_fluffy_network_nice_name }}-{{ nimbus_fluffy_repo_branch }}-{{ "%02d"|format(index|int) }}'
|
|
# Separate variable to not change node names.
|
|
nimbus_fluffy_network_nice_name: 'mainnet'
|
|
nimbus_fluffy_network: 'testnet0'
|
|
nimbus_fluffy_repo_branch: 'master'
|
|
# General
|
|
nimbus_fluffy_log_level: 'INFO'
|
|
# Ports
|
|
nimbus_fluffy_listening_port: '{{ 9100 + index|int }}'
|
|
nimbus_fluffy_metrics_port: '{{ 9200 + index|int }}'
|
|
nimbus_fluffy_rpc_port: '{{ 9900 + index|int }}'
|
|
# One build for all nodes
|
|
nimbus_fluffy_repo_path: '/data/nimbus-fluffy/repo'
|
|
nimbus_fluffy_build_service_name: 'build-nimbus-fluffy-{{ nimbus_fluffy_network }}-{{ nimbus_fluffy_repo_branch }}'
|
|
nimbus_fluffy_build_restart_service: 'nimbus-fluffy-*.service'
|
|
nimbus_fluffy_build_script_path: '/data/nimbus-fluffy/build.sh'
|
|
# Consul healthchecks
|
|
nimbus_fluffy_consul_check_interval: '60s'
|
|
nimbus_fluffy_consul_check_timeout: '15s'
|
|
nimbus_fluffy_consul_success_before_passing: '{{ 60*12 }}' # 12h
|
|
nimbus_fluffy_consul_failures_before_warning: '{{ 60*24 }}' # 24h
|
|
nimbus_fluffy_consul_failures_before_critical: '{{ 60*24*2 }}' # 48h
|
|
|
|
# Open Ports
|
|
open_ports_default_comment: 'SMART Metrics'
|
|
open_ports_default_chain: 'VPN'
|
|
open_ports_list:
|
|
- { port: '{{ smart_metrics_listen_port }}', ipset: 'metrics.hq' }
|