veilid/doc/config/sample.config

134 lines
4.0 KiB
Plaintext
Raw Normal View History

2022-09-19 21:18:46 -04:00
daemon:
enabled: false
client_api:
enabled: true
listen_address: 'localhost:5959'
auto_attach: true
logging:
system:
enabled: false
level: 'info'
terminal:
enabled: true
level: 'info'
file:
enabled: false
path: ''
append: true
level: 'info'
api:
enabled: true
level: 'info'
otlp:
enabled: false
level: 'trace'
grpc_endpoint: 'localhost:4317'
2023-05-29 15:24:57 -04:00
console:
enabled: false
2022-09-19 21:18:46 -04:00
testing:
subnode_index: 0
core:
protected_store:
allow_insecure_fallback: true
always_use_insecure_storage: true
2023-05-29 15:24:57 -04:00
directory: '%DIRECTORY%'
2022-09-19 21:18:46 -04:00
delete: false
table_store:
directory: '%TABLE_STORE_DIRECTORY%'
delete: false
block_store:
directory: '%BLOCK_STORE_DIRECTORY%'
delete: false
network:
connection_initial_timeout_ms: 2000
connection_inactivity_timeout_ms: 60000
max_connections_per_ip4: 32
max_connections_per_ip6_prefix: 32
max_connections_per_ip6_prefix_size: 56
max_connection_frequency_per_min: 128
client_whitelist_timeout_ms: 300000
reverse_connection_receipt_time_ms: 5000
2023-06-23 21:12:48 -04:00
hole_punch_receipt_time_ms: 5000
network_key_password: null
2023-07-03 15:10:28 -04:00
disable_capabilites: []
2022-09-19 21:18:46 -04:00
routing_table:
2023-05-29 15:24:57 -04:00
node_id: null
node_id_secret: null
2023-06-22 17:42:34 -04:00
bootstrap: ['bootstrap.veilid.net']
2022-09-19 21:18:46 -04:00
limit_over_attached: 64
limit_fully_attached: 32
limit_attached_strong: 16
limit_attached_good: 8
limit_attached_weak: 4
rpc:
concurrency: 0
queue_size: 1024
max_timestamp_behind_ms: 10000
max_timestamp_ahead_ms: 10000
2023-05-29 15:24:57 -04:00
timeout_ms: 5000
2022-10-30 19:29:31 -04:00
max_route_hop_count: 4
2022-11-21 22:50:42 -05:00
default_route_hop_count: 1
2022-09-19 21:18:46 -04:00
dht:
max_find_node_count: 20
2023-05-29 15:24:57 -04:00
resolve_node_timeout_ms: 10000
resolve_node_count: 1
resolve_node_fanout: 4
get_value_timeout_ms: 10000
get_value_count: 3
get_value_fanout: 4
set_value_timeout_ms: 10000
set_value_count: 5
set_value_fanout: 4
2022-09-19 21:18:46 -04:00
min_peer_count: 20
2023-07-19 10:07:51 -04:00
min_peer_refresh_time_ms: 60000
2022-09-19 21:18:46 -04:00
validate_dial_info_receipt_time_ms: 2000
2023-05-29 15:24:57 -04:00
local_subkey_cache_size: 128
local_max_subkey_cache_memory_mb: 256
remote_subkey_cache_size: 1024
remote_max_records: 65536
remote_max_subkey_cache_memory_mb: %REMOTE_MAX_SUBKEY_CACHE_MEMORY_MB%
remote_max_storage_space_mb: 0
2022-09-19 21:18:46 -04:00
upnp: true
detect_address_changes: true
restricted_nat_retries: 0
tls:
certificate_path: '%CERTIFICATE_PATH%'
private_key_path: '%PRIVATE_KEY_PATH%'
connection_initial_timeout_ms: 2000
application:
https:
enabled: false
listen_address: ':5150'
path: 'app'
# url: 'https://localhost:5150'
http:
enabled: false
listen_address: ':5150'
path: 'app'
# url: 'http://localhost:5150'
protocol:
udp:
enabled: true
socket_pool_size: 0
listen_address: ':5150'
# public_address: ''
tcp:
connect: true
listen: true
max_connections: 32
listen_address: ':5150'
#'public_address: ''
ws:
connect: true
listen: true
max_connections: 16
listen_address: ':5150'
path: 'ws'
# url: 'ws://localhost:5150/ws'
wss:
connect: true
listen: false
max_connections: 16
listen_address: ':5150'
path: 'ws'
2023-05-29 15:24:57 -04:00
# url: ''