fix: return fluence/Config.default.toml (#99)

This commit is contained in:
folex 2023-02-22 15:23:00 +07:00 committed by GitHub
parent 9b6fe501d8
commit 4ee13e669b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,85 @@
## ed25519, rsa, secp256k1 private keys available for this node. Generation is available only for ed25519 and secp256k1.
## Either value or path should be defined. Value is base58 bytes.
## ed25519 format is set by default
# root_key_pair.format = "ed25519"
# root_key_pair.value = "..."
# root_key_pair.path = "/.fluence/v1/secret_key.ed25519"
root_key_pair.generate_on_absence = true
# builtins_key_pair.format = "ed25519"
# builtins_key_pair.value = "..."
# builtins_key_pair.path = "/.fluence/v1/secret_key.ed25519"
builtins_key_pair.generate_on_absence = true
autodeploy_particle_ttl = "60s"
## Services will store their data here
# default is /.fluence/v1/services
# services_base_dir = "./services"
## AIR Interpreter will store its data here. NOTE: 'stepper' is an old name for interpreter.
# default is /.fluence/v1/stepper
# avm_base_dir = "./stepper"
## directory for TrustGraph certificates
# default is /.fluence/v1/certificates
# certificate_dir = "./certificates"
## directory for builtins
# default is /.fluence/v1/builtins
builtins_base_dir = "/builtins"
# default is /.fluence/spell
# spell_base_dir = "/spell"
## Path to AIR interpreter .wasm is set to specific version by default
## air_interpreter_path = "./aquamarine_${air_interpreter_wasm::VERSION}.wasm"
tcp_port = 7777
listen_ip = "0.0.0.0"
socket_timeout = "20s"
bootstrap_nodes = [
"/dns4/net01.fluence.dev/tcp/7001",
"/dns4/net01.fluence.dev/tcp/7770",
"/dns4/net02.fluence.dev/tcp/7001",
"/dns4/net03.fluence.dev/tcp/7001",
"/dns4/net04.fluence.dev/tcp/7001",
"/dns4/net05.fluence.dev/tcp/7001",
"/dns4/net06.fluence.dev/tcp/7001",
"/dns4/net07.fluence.dev/tcp/7001",
"/dns4/net08.fluence.dev/tcp/7001",
"/dns4/net09.fluence.dev/tcp/7001",
"/dns4/net10.fluence.dev/tcp/7001"
]
websocket_port = 9999
#external_address = "85.85.35.35"
prometheus_port = 18080
aquavm_pool_size = 16
## Maximum heap size in bytes available for an interpreter instance.
# default is not specified and defined by runtime (1600 pages: 65536*1600 ~ 100 Mb, Wasm page size is 64 Kb)
# aquavm_max_heap_size = "500 Mb"
## Maximum heap size in bytes available for a WASM module.
# Checks heap size required by module if specified, default is not specified.
# module_max_heap_size = "10 Mb"
## Default heap size in bytes available for a WASM module unless otherwise specified.
# default is not specified and defined by runtime
# module_default_heap_size = "5 Mb"
## How often send memory metrics to prometheus
#metrics_timer_resolution = "60s"
## environment variables that will be passed to each service
## TODO: separate by service or move to service config
services_envs = { name = "value" }
[bootstrap_config]
reconnect_delay = "5s 500ms"
bootstrap_delay = "30s 45ms"
bootstrap_max_delay = "60s"
[root_weights]
12D3KooWB9P1xmV3c7ZPpBemovbwCiRRTKd3Kq2jsVPQN4ZukDfy = 1
12D3KooWBUJifCTgaxAUrcM9JysqCcS4CS8tiYH5hExbdWCAoNwb = 20
[protocol_config]
upgrade_timeout = "10s"
keep_alive_timeout = "10s"
outbound_substream_timeout = "10s"