move s04 tls keys configuration from .storage.env to compose file

Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
anastasia prasolova 2021-07-09 11:22:01 +03:00 committed by Alex Vanin
parent 91c8688cfa
commit 74ccc1b222
2 changed files with 5 additions and 7 deletions

View file

@ -21,10 +21,6 @@ NEOFS_METRICS_ADDRESS=:9090
# GRPC Transport Section # GRPC Transport Section
NEOFS_GRPC_NUM=1 NEOFS_GRPC_NUM=1
## 0 server
### TLS config
NEOFS_GRPC_0_TLS_CERTIFICATE=/tls.crt
NEOFS_GRPC_0_TLS_KEY=/tls.key
# Morph section # Morph section
## Endpoints of sidechain RPC nodes (comma-separated) ## Endpoints of sidechain RPC nodes (comma-separated)
@ -51,7 +47,7 @@ NEOFS_MAINCHAIN_RPC_ENDPOINT=http://morph_chain:30333
#NEOFS_APICLIENT_DIAL_TIMEOUT=1m #NEOFS_APICLIENT_DIAL_TIMEOUT=1m
# Contracts section. # Contracts section.
## Adresses of sidechain contracts. ## Adresses of sidechain contracts.
## Defaults: empty (invalid) ## Defaults: empty (invalid)
NEOFS_CONTRACTS_BALANCE=d8f5cadd51d34602c751ef673496e7e5b615f223 NEOFS_CONTRACTS_BALANCE=d8f5cadd51d34602c751ef673496e7e5b615f223
NEOFS_CONTRACTS_CONTAINER=c241ae468ad95af029408e1845226d7771c7c60f NEOFS_CONTRACTS_CONTAINER=c241ae468ad95af029408e1845226d7771c7c60f
@ -95,7 +91,7 @@ NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=2
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4 NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50 NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
### GC config ### GC config
#### Limit of the single data remover's batching operation in number of objects #### Limit of the single data remover's batching operation in number of objects
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=100 NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=100
#### Sleep interval between data remover tacts #### Sleep interval between data remover tacts
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=1m NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=1m

View file

@ -129,6 +129,8 @@ services:
- NEOFS_GRPC_0_ENDPOINT=s04.${LOCAL_DOMAIN}:8080 - NEOFS_GRPC_0_ENDPOINT=s04.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_1_ENDPOINT=s04.${LOCAL_DOMAIN}:8082 - NEOFS_GRPC_1_ENDPOINT=s04.${LOCAL_DOMAIN}:8082
- NEOFS_GRPC_1_TLS_ENABLED=true - NEOFS_GRPC_1_TLS_ENABLED=true
- NEOFS_GRPC_1_TLS_CERTIFICATE=/tls.crt
- NEOFS_GRPC_1_TLS_KEY=/tls.key
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:FI HEL - NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:FI HEL
- NEOFS_NODE_ATTRIBUTE_1=Price:44 - NEOFS_NODE_ATTRIBUTE_1=Price:44
healthcheck: healthcheck:
@ -137,7 +139,7 @@ services:
timeout: 1s timeout: 1s
retries: 5 retries: 5
start_period: 10s start_period: 10s
sn-healthcheck: sn-healthcheck:
container_name: sn-healthcheck container_name: sn-healthcheck
image: debian:10 image: debian:10