Continued additions to config doc format
This commit is contained in:
parent
cf1ca2dcba
commit
f70303a47e
@ -15,7 +15,7 @@ and the `veilid-server.conf` file.
|
||||
## Global Directives
|
||||
|
||||
| Directive | Description |
|
||||
|-------------------------------|---------------------------------------------------|
|
||||
|-------------------------------|-----------------------------------------|
|
||||
| [daemon](#daemon) | Run `veilid-server` in the background |
|
||||
| [client\_api](#client_api) ||
|
||||
| [auto\_attach](#auto_attach) ||
|
||||
@ -40,15 +40,15 @@ client_api:
|
||||
```
|
||||
|
||||
| Parameter | Description |
|
||||
|-------------------------------------|-------------|
|
||||
| [enabled](#enabled) ||
|
||||
| [listen\_address](#listen_address) ||
|
||||
|-----------------------------------------------|-------------|
|
||||
| [enabled](#client_apienabled) ||
|
||||
| [listen\_address](#client_apilisten_address) ||
|
||||
|
||||
#### enabled
|
||||
#### client\_api:enabled
|
||||
|
||||
**TODO**
|
||||
|
||||
#### listen\_address
|
||||
#### client\_api:listen\_address
|
||||
|
||||
**TODO**
|
||||
|
||||
@ -82,6 +82,57 @@ logging:
|
||||
grpc_endpoint: 'localhost:4317'
|
||||
```
|
||||
|
||||
| Parameter | Description |
|
||||
|-------------------------------|-------------|
|
||||
| [system](#loggingsystem) ||
|
||||
| [terminal](#loggingterminal) ||
|
||||
| [file](#loggingfile) ||
|
||||
| [api](#loggingapi) ||
|
||||
| [otlp](#loggingotlp) ||
|
||||
|
||||
#### logging:system
|
||||
|
||||
```yaml
|
||||
system:
|
||||
enabled: false
|
||||
level: 'info'
|
||||
```
|
||||
|
||||
#### logging:terminal
|
||||
|
||||
```yaml
|
||||
terminal:
|
||||
enabled: true
|
||||
level: 'info'
|
||||
```
|
||||
|
||||
#### logging:file
|
||||
|
||||
```yaml
|
||||
file:
|
||||
enabled: false
|
||||
path: ''
|
||||
append: true
|
||||
level: 'info'
|
||||
```
|
||||
|
||||
#### logging:api
|
||||
|
||||
```yaml
|
||||
api:
|
||||
enabled: true
|
||||
level: 'info'
|
||||
```
|
||||
|
||||
#### logging:otlp
|
||||
|
||||
```yaml
|
||||
otlp:
|
||||
enabled: false
|
||||
level: 'trace'
|
||||
grpc_endpoint: 'localhost:4317'
|
||||
```
|
||||
|
||||
### testing
|
||||
|
||||
```yaml
|
||||
@ -91,20 +142,43 @@ testing:
|
||||
|
||||
### core
|
||||
|
||||
| Parameter | Description |
|
||||
|-------------------------------------------|-------------|
|
||||
| [protected\_store](#coreprotected_store) ||
|
||||
| [table\_store](#coretable_store) ||
|
||||
| [block\_store](#block_store) ||
|
||||
| [network](#corenetwork) ||
|
||||
|
||||
#### core:protected\_store
|
||||
|
||||
```yaml
|
||||
core:
|
||||
protected_store:
|
||||
protected_store:
|
||||
allow_insecure_fallback: true
|
||||
always_use_insecure_storage: true
|
||||
insecure_fallback_directory: '%INSECURE_FALLBACK_DIRECTORY%'
|
||||
delete: false
|
||||
table_store:
|
||||
```
|
||||
|
||||
#### core:table\_store
|
||||
|
||||
```yaml
|
||||
table_store:
|
||||
directory: '%TABLE_STORE_DIRECTORY%'
|
||||
delete: false
|
||||
block_store:
|
||||
```
|
||||
|
||||
#### core:block\_store
|
||||
|
||||
```yaml
|
||||
block_store:
|
||||
directory: '%BLOCK_STORE_DIRECTORY%'
|
||||
delete: false
|
||||
network:
|
||||
```
|
||||
|
||||
#### core:network
|
||||
|
||||
```yaml
|
||||
network:
|
||||
connection_initial_timeout_ms: 2000
|
||||
connection_inactivity_timeout_ms: 60000
|
||||
max_connections_per_ip4: 32
|
||||
@ -118,20 +192,49 @@ core:
|
||||
node_id_secret: ''
|
||||
bootstrap: ['bootstrap.dev.veilid.net']
|
||||
bootstrap_nodes: []
|
||||
routing_table:
|
||||
upnp: true
|
||||
natpmp: false
|
||||
detect_address_changes: true
|
||||
enable_local_peer_scope: false
|
||||
restricted_nat_retries: 0
|
||||
```
|
||||
|
||||
| Parameter | Description |
|
||||
|---------------------------------------------|-------------|
|
||||
| [routing\_table](#corenetworkrouting_table) ||
|
||||
| [rpc](#corenetworkrpc) ||
|
||||
| [dht](#corenetworkdht) ||
|
||||
| [tls](#corenetworktls) ||
|
||||
| [application](#corenetworkapplication) ||
|
||||
| [protocol](#corenetworkprotocol) ||
|
||||
|
||||
#### core:network:routing\_table
|
||||
|
||||
```yaml
|
||||
routing_table:
|
||||
limit_over_attached: 64
|
||||
limit_fully_attached: 32
|
||||
limit_attached_strong: 16
|
||||
limit_attached_good: 8
|
||||
limit_attached_weak: 4
|
||||
rpc:
|
||||
```
|
||||
|
||||
#### core:network:rpc
|
||||
|
||||
```yaml
|
||||
rpc:
|
||||
concurrency: 0
|
||||
queue_size: 1024
|
||||
max_timestamp_behind_ms: 10000
|
||||
max_timestamp_ahead_ms: 10000
|
||||
timeout_ms: 10000
|
||||
max_route_hop_count: 7
|
||||
dht:
|
||||
```
|
||||
|
||||
#### core:network:dht
|
||||
|
||||
```yaml
|
||||
dht:
|
||||
resolve_node_timeout:
|
||||
resolve_node_count: 20
|
||||
resolve_node_fanout: 3
|
||||
@ -145,16 +248,21 @@ core:
|
||||
min_peer_count: 20
|
||||
min_peer_refresh_time_ms: 2000
|
||||
validate_dial_info_receipt_time_ms: 2000
|
||||
upnp: true
|
||||
natpmp: false
|
||||
detect_address_changes: true
|
||||
enable_local_peer_scope: false
|
||||
restricted_nat_retries: 0
|
||||
tls:
|
||||
```
|
||||
|
||||
#### core:network:tls
|
||||
|
||||
```yaml
|
||||
tls:
|
||||
certificate_path: '%CERTIFICATE_PATH%'
|
||||
private_key_path: '%PRIVATE_KEY_PATH%'
|
||||
connection_initial_timeout_ms: 2000
|
||||
application:
|
||||
```
|
||||
|
||||
#### core:network:application
|
||||
|
||||
```yaml
|
||||
application:
|
||||
https:
|
||||
enabled: false
|
||||
listen_address: ':5150'
|
||||
@ -165,7 +273,12 @@ core:
|
||||
listen_address: ':5150'
|
||||
path: 'app'
|
||||
# url: 'http://localhost:5150'
|
||||
protocol:
|
||||
```
|
||||
|
||||
#### core:network:protocol
|
||||
|
||||
```yaml
|
||||
protocol:
|
||||
udp:
|
||||
enabled: true
|
||||
socket_pool_size: 0
|
||||
|
Loading…
Reference in New Issue
Block a user