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