frostfs-dev-env/services/storage/docker-compose.yml
Alex Vanin 74717177c0 [#104] Update neofs-node to v0.22.0
Release includes group address support in SN.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-06-29 18:12:58 +03:00

111 lines
3 KiB
YAML

---
version: "2.4"
services:
storage01:
image: ${NODE_IMAGE}:${NODE_VERSION}
domainname: ${LOCAL_DOMAIN}
hostname: s01
container_name: s01
restart: on-failure
networks:
storage_int:
internet:
ipv4_address: ${IPV4_PREFIX}.71
volumes:
- ./01.key:/01.key
- ./../../vendor/hosts:/etc/hosts
- storage_s01:/storage
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env" ]
environment:
- NEOFS_NODE_KEY=/01.key
- NEOFS_NODE_ADDRESSES=s01.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_0_ENDPOINT=s01.${LOCAL_DOMAIN}:8080
- NEOFS_CONTROL_GRPC_ENDPOINT=s01.${LOCAL_DOMAIN}:8081
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:RU MSK
- NEOFS_NODE_ATTRIBUTE_1=Price:22
storage02:
image: ${NODE_IMAGE}:${NODE_VERSION}
domainname: ${LOCAL_DOMAIN}
hostname: s02
container_name: s02
restart: on-failure
networks:
storage_int:
internet:
ipv4_address: ${IPV4_PREFIX}.72
volumes:
- ./02.key:/02.key
- ./../../vendor/hosts:/etc/hosts
- storage_s02:/storage
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env" ]
environment:
- NEOFS_NODE_KEY=/02.key
- NEOFS_NODE_ADDRESSES=s02.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_0_ENDPOINT=s02.${LOCAL_DOMAIN}:8080
- NEOFS_CONTROL_GRPC_ENDPOINT=s02.${LOCAL_DOMAIN}:8081
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:RU LED
- NEOFS_NODE_ATTRIBUTE_1=Price:33
storage03:
image: ${NODE_IMAGE}:${NODE_VERSION}
domainname: ${LOCAL_DOMAIN}
hostname: s03
container_name: s03
restart: on-failure
networks:
storage_int:
internet:
ipv4_address: ${IPV4_PREFIX}.73
volumes:
- ./03.key:/03.key
- ./../../vendor/hosts:/etc/hosts
- storage_s03:/storage
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env" ]
environment:
- NEOFS_NODE_KEY=/03.key
- NEOFS_NODE_ADDRESSES=s03.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_0_ENDPOINT=s03.${LOCAL_DOMAIN}:8080
- NEOFS_CONTROL_GRPC_ENDPOINT=s03.${LOCAL_DOMAIN}:8081
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:SE STO
- NEOFS_NODE_ATTRIBUTE_1=Price:11
storage04:
image: ${NODE_IMAGE}:${NODE_VERSION}
domainname: ${LOCAL_DOMAIN}
hostname: s04
container_name: s04
restart: on-failure
networks:
storage_int:
internet:
ipv4_address: ${IPV4_PREFIX}.74
volumes:
- ./04.key:/04.key
- ./../../vendor/hosts:/etc/hosts
- storage_s04:/storage
stop_signal: SIGKILL
env_file: [ ".env", ".storage.env" ]
environment:
- NEOFS_NODE_KEY=/04.key
- NEOFS_NODE_ADDRESSES=s04.${LOCAL_DOMAIN}:8080
- NEOFS_GRPC_0_ENDPOINT=s04.${LOCAL_DOMAIN}:8080
- NEOFS_CONTROL_GRPC_ENDPOINT=s04.${LOCAL_DOMAIN}:8081
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:FI HEL
- NEOFS_NODE_ATTRIBUTE_1=Price:44
volumes:
storage_s01:
storage_s02:
storage_s03:
storage_s04:
networks:
storage_int:
internet:
external:
name: basenet_internet