diff --git a/CHANGELOG.md b/CHANGELOG.md index 01e489cd..dd7a52a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ This document outlines major changes between releases. ### Changed - AWS SDK migrated to V2 (#1028) - Bucket ownership settings moved from EACL to bucket settings meta objects (#1120) +- Peers list definition in config files (#1149) ### Fixed @@ -21,6 +22,22 @@ This document outlines major changes between releases. authmate tool "reset-bucket-acl" command was updated to clean redundant EACL records. These settings were moved to bucket settings object. +Updating peers config should be done from old format: +```yaml +peers: + 0: + address: node1.neofs:8080 + priority: 1 + weight: 1 +``` +to the new one: +```yaml +peers: + - address: node1.neofs:8080 + priority: 1 + weight: 1 +``` + ## [0.36.1] - 2025-04-09 ### Fixed diff --git a/config/config.env b/config/config.env index 7d2505f4..a0ddba47 100644 --- a/config/config.env +++ b/config/config.env @@ -33,6 +33,12 @@ S3_GW_SERVER_1_TLS_ENABLED=true S3_GW_SERVER_1_TLS_CERT_FILE=/path/to/tls/cert S3_GW_SERVER_1_TLS_KEY_FILE=/path/to/tls/key +# RPC endpoints +S3_GW_FSCHAIN_ENDPOINTS=http://localhost:30333 + +# Use space to set few endpoints +# S3_GW_FSCHAIN_ENDPOINTS="http://localhost:30333 http://localhost:30334" + # Domains to be able to use virtual-hosted-style access to bucket. S3_GW_LISTEN_DOMAINS=s3dev.neofs.devenv diff --git a/config/config.yaml b/config/config.yaml index e8390cec..a536433d 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -12,16 +12,13 @@ wallet: # nodes with other priority are not used. # The lower the value, the higher the priority. peers: - 0: - address: node1.neofs:8080 + - address: node1.neofs:8080 priority: 1 weight: 1 - 1: - address: node2.neofs:8080 + - address: node2.neofs:8080 priority: 2 weight: 0.1 - 2: - address: node3.neofs:8080 + - address: node3.neofs:8080 priority: 2 weight: 0.9 diff --git a/docs/configuration.md b/docs/configuration.md index e173876a..f947baae 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -227,16 +227,13 @@ wallet: # nodes with other priority are not used. # The lower the value, the higher the priority. peers: - 0: - address: node1.neofs:8080 + - address: node1.neofs:8080 priority: 1 weight: 1 - 1: - address: node2.neofs:8080 + - address: node2.neofs:8080 priority: 2 weight: 0.1 - 2: - address: node3.neofs:8080 + - address: node3.neofs:8080 priority: 2 weight: 0.9 ```