2020-07-10 15:14:30 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
|
|
|
|
|
|
|
storage01:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-07-10 15:14:30 +00:00
|
|
|
container_name: s01.localtest.nspcc.ru
|
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.71
|
|
|
|
stop_signal: SIGKILL
|
|
|
|
volumes: [ "./01.key:/01.key" ]
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_NODE_KEY=/01.key
|
2020-07-10 15:14:30 +00:00
|
|
|
- NEOFS_NODE_ADDRESS=s01.localtest.nspcc.ru:8080
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_GRPC_ENDPOINT=s01.localtest.nspcc.ru:8080
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
storage02:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-07-10 15:14:30 +00:00
|
|
|
container_name: s02.localtest.nspcc.ru
|
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.72
|
|
|
|
stop_signal: SIGKILL
|
|
|
|
volumes: [ "./02.key:/02.key" ]
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_NODE_KEY=/02.key
|
2020-07-10 15:14:30 +00:00
|
|
|
- NEOFS_NODE_ADDRESS=s02.localtest.nspcc.ru:8080
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_GRPC_ENDPOINT=s02.localtest.nspcc.ru:8080
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
storage03:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-07-10 15:14:30 +00:00
|
|
|
container_name: s03.localtest.nspcc.ru
|
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.73
|
|
|
|
stop_signal: SIGKILL
|
|
|
|
volumes: [ "./03.key:/03.key" ]
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_NODE_KEY=/03.key
|
2020-07-10 15:14:30 +00:00
|
|
|
- NEOFS_NODE_ADDRESS=s03.localtest.nspcc.ru:8080
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_GRPC_ENDPOINT=s03.localtest.nspcc.ru:8080
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
storage04:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-07-10 15:14:30 +00:00
|
|
|
container_name: s04.localtest.nspcc.ru
|
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.74
|
|
|
|
stop_signal: SIGKILL
|
|
|
|
volumes: [ "./04.key:/04.key" ]
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_NODE_KEY=/04.key
|
|
|
|
- NEOFS_NODE_ADDRESS=s04.localtest.nspcc.ru:8080
|
|
|
|
- NEOFS_GRPC_ENDPOINT=s04.localtest.nspcc.ru:8080
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
external:
|
|
|
|
name: basenet_internet
|