Add storage node attributes

Also fix indent for env vars.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-09-24 16:55:28 +03:00
parent a4cb92016f
commit 1d8e79c0e4

View file

@ -21,6 +21,7 @@ services:
- NEOFS_NODE_KEY=/01.key
- NEOFS_NODE_ADDRESS=s01.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_ENDPOINT=s01.${LOCAL_DOMAIN}:8080
- NEOFS_NODE_ATTRIBUTE_0=/Location:Europe/Country:Russia/City:Moscow
storage02:
image: ${NODE_IMAGE}:${NODE_VERSION}
@ -41,6 +42,7 @@ services:
- NEOFS_NODE_KEY=/02.key
- NEOFS_NODE_ADDRESS=s02.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_ENDPOINT=s02.${LOCAL_DOMAIN}:8080
- NEOFS_NODE_ATTRIBUTE_0=/Location:Europe/Country:Russia/City:Saint-Petersburg
storage03:
image: ${NODE_IMAGE}:${NODE_VERSION}
@ -61,6 +63,7 @@ services:
- NEOFS_NODE_KEY=/03.key
- NEOFS_NODE_ADDRESS=s03.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_ENDPOINT=s03.${LOCAL_DOMAIN}:8080
- NEOFS_NODE_ATTRIBUTE_0=/Location:Europe/Country:Sweden/City:Stockholm
storage04:
image: ${NODE_IMAGE}:${NODE_VERSION}
@ -81,6 +84,7 @@ services:
- NEOFS_NODE_KEY=/04.key
- NEOFS_NODE_ADDRESS=s04.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_ENDPOINT=s04.${LOCAL_DOMAIN}:8080
- NEOFS_NODE_ATTRIBUTE_0=/Location:Europe/Country:Finalnd/City:Helsinki
networks:
storage_int: