parent
eacd7be33e
commit
48ce84e65f
2 changed files with 8 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
|||
HTTP_GW_WALLET_PATH=/path/to/wallet.json
|
||||
# Account address. If omitted default one will be used.
|
||||
HTTP_GW_WALLET_ADDRESS=NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP
|
||||
# Password to decrypt wallet.
|
||||
# Passphrase to decrypt wallet.
|
||||
HTTP_GW_WALLET_PASSPHRASE=pwd
|
||||
|
||||
# Enable metrics.
|
||||
|
@ -22,8 +22,8 @@ HTTP_GW_TLS_CERTIFICATE=/path/to/tls/cert
|
|||
HTTP_GW_TLS_KEY=/path/to/tls/key
|
||||
|
||||
# Nodes configuration.
|
||||
# This configuration make gateway use the first node (grpc://s01.neofs.devenv:8080)
|
||||
# while it's healthy. Otherwise, gateway use the second node (grpc://s01.neofs.devenv:8080)
|
||||
# This configuration make the gateway use the first node (grpc://s01.neofs.devenv:8080)
|
||||
# while it's healthy. Otherwise, the gateway use the second node (grpc://s01.neofs.devenv:8080)
|
||||
# for 10% of requests and the third node for 90% of requests.
|
||||
|
||||
# Peer 1.
|
||||
|
@ -31,7 +31,7 @@ HTTP_GW_TLS_KEY=/path/to/tls/key
|
|||
HTTP_GW_PEERS_0_ADDRESS=grpc://s01.neofs.devenv:8080
|
||||
# Until nodes with the same priority level are healthy
|
||||
# nodes with other priority are not used.
|
||||
# Еhe lower the value, the higher the priority.
|
||||
# The lower the value, the higher the priority.
|
||||
HTTP_GW_PEERS_0_PRIORITY=1
|
||||
# Load distribution proportion for nodes with the same priority.
|
||||
HTTP_GW_PEERS_0_WEIGHT=1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
wallet:
|
||||
path: /path/to/wallet.json # Path to wallet.
|
||||
address: NfgHwwTi3wHAS8aFAN243C5vGbkYDpqLHP # Account address. If omitted default one will be used.
|
||||
passphrase: pwd # Password to decrypt wallet.
|
||||
passphrase: pwd # Passphrase to decrypt wallet.
|
||||
|
||||
metrics: true # Enable metrics.
|
||||
pprof: true # Enable pprof.
|
||||
|
@ -13,8 +13,8 @@ tls_certificate: /path/to/tls/cert # Provide cert to enable TLS.
|
|||
tls_key: /path/to/tls/key # Provide key to enable TLS.
|
||||
|
||||
# Nodes configuration.
|
||||
# This configuration make gateway use the first node (grpc://s01.neofs.devenv:8080)
|
||||
# while it's healthy. Otherwise, gateway use the second node (grpc://s01.neofs.devenv:8080)
|
||||
# This configuration make the gateway use the first node (grpc://s01.neofs.devenv:8080)
|
||||
# while it's healthy. Otherwise, the gateway use the second node (grpc://s01.neofs.devenv:8080)
|
||||
# for 10% of requests and the third node for 90% of requests.
|
||||
peers:
|
||||
0:
|
||||
|
@ -23,7 +23,7 @@ peers:
|
|||
|
||||
# Until nodes with the same priority level are healthy
|
||||
# nodes with other priority are not used.
|
||||
# Еhe lower the value, the higher the priority.
|
||||
# The lower the value, the higher the priority.
|
||||
priority: 1
|
||||
|
||||
# Load distribution proportion for nodes with the same priority.
|
||||
|
|
Loading…
Reference in a new issue