forked from TrueCloudLab/frostfs-dev-env
Add storage node attributes
Also fix indent for env vars. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
a4cb92016f
commit
1d8e79c0e4
1 changed files with 13 additions and 9 deletions
|
@ -18,9 +18,10 @@ services:
|
|||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/01.key
|
||||
- NEOFS_NODE_ADDRESS=s01.${LOCAL_DOMAIN}:8080
|
||||
- NEOFS_GRPC_ENDPOINT=s01.${LOCAL_DOMAIN}:8080
|
||||
- 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}
|
||||
|
@ -38,9 +39,10 @@ services:
|
|||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/02.key
|
||||
- NEOFS_NODE_ADDRESS=s02.${LOCAL_DOMAIN}:8080
|
||||
- NEOFS_GRPC_ENDPOINT=s02.${LOCAL_DOMAIN}:8080
|
||||
- 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}
|
||||
|
@ -58,9 +60,10 @@ services:
|
|||
stop_signal: SIGKILL
|
||||
env_file: [ ".env", ".storage.env" ]
|
||||
environment:
|
||||
- NEOFS_NODE_KEY=/03.key
|
||||
- NEOFS_NODE_ADDRESS=s03.${LOCAL_DOMAIN}:8080
|
||||
- NEOFS_GRPC_ENDPOINT=s03.${LOCAL_DOMAIN}:8080
|
||||
- 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:
|
||||
|
|
Loading…
Reference in a new issue