From aee745088026e00a0394a08f3158beafc041f856 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Fri, 22 Jul 2022 16:24:35 +0300 Subject: [PATCH] [#592] Add tree section to configuration doc Signed-off-by: Denis Kirillov --- config/config.env | 3 +++ config/config.yaml | 4 ++++ docs/configuration.md | 12 ++++++++++++ 3 files changed, 19 insertions(+) diff --git a/config/config.env b/config/config.env index 38ce6579..3026c86c 100644 --- a/config/config.env +++ b/config/config.env @@ -34,6 +34,9 @@ S3_GW_CONFIG=/path/to/config/yaml # Logger S3_GW_LOGGER_LEVEL=debug +# Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section). +S3_GW_TREE_SERVICE=grpc://s01.neofs.devenv:8080 + # RPC endpoint and order of resolving of bucket names S3_GW_RPC_ENDPOINT=http://morph-chain.neofs.devenv:30333/ S3_GW_RESOLVE_ORDER="nns dns" diff --git a/config/config.yaml b/config/config.yaml index fa0ec532..fc413fc1 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -35,6 +35,10 @@ tls: logger: level: debug +# Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section). +tree: + service: node1.neofs:8080 + # RPC endpoint and order of resolving of bucket names rpc_endpoint: http://morph-chain.neofs.devenv:30333 resolve_order: diff --git a/docs/configuration.md b/docs/configuration.md index 22517852..bb444485 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -127,6 +127,7 @@ There are some custom types used for brevity: | `peers` | [Nodes configuration](#peers-section) | | `tls` | [TLS configuration](#tls-section) | | `logger` | [Logger configuration](#logger-section) | +| `tree` | [Tree configuration](#tree-section) | | `cache` | [Cache configuration](#cache-section) | | `nats` | [NATS configuration](#nats-section) | | `cors` | [CORS configuration](#cors-section) | @@ -237,6 +238,17 @@ logger: |-----------|----------|---------------|----------------------------------------------------------------------------------------------------| | `level` | `string` | `debug` | Logging level.
Possible values: `debug`, `info`, `warn`, `error`, `dpanic`, `panic`, `fatal`. | +### `tree` section + +```yaml +tree: + service: s01.neofs.devenv:8080 +``` + +| Parameter | Type | Default value | Description | +|-----------|----------|---------------|------------------------------------------------------------------------------------------------------------| +| `service` | `string` | | Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section). | + ### `cache` section ```yaml