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-09-22 08:47:39 +00:00
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: s01
|
|
|
|
container_name: s01
|
2020-09-24 10:48:42 +00:00
|
|
|
restart: on-failure
|
2020-07-10 15:14:30 +00:00
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.71
|
2020-09-24 09:34:19 +00:00
|
|
|
volumes:
|
|
|
|
- ./01.key:/01.key
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s01:/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-24 13:55:28 +00:00
|
|
|
- NEOFS_NODE_KEY=/01.key
|
|
|
|
- NEOFS_NODE_ADDRESS=s01.${LOCAL_DOMAIN}:8080
|
|
|
|
- NEOFS_GRPC_ENDPOINT=s01.${LOCAL_DOMAIN}:8080
|
2021-02-09 15:57:37 +00:00
|
|
|
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:RU MSK
|
|
|
|
- NEOFS_NODE_ATTRIBUTE_1=Price:22
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
storage02:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-09-22 08:47:39 +00:00
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: s02
|
|
|
|
container_name: s02
|
2020-09-24 10:48:42 +00:00
|
|
|
restart: on-failure
|
2020-07-10 15:14:30 +00:00
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.72
|
2020-09-24 09:34:19 +00:00
|
|
|
volumes:
|
|
|
|
- ./02.key:/02.key
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s02:/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-24 13:55:28 +00:00
|
|
|
- NEOFS_NODE_KEY=/02.key
|
|
|
|
- NEOFS_NODE_ADDRESS=s02.${LOCAL_DOMAIN}:8080
|
|
|
|
- NEOFS_GRPC_ENDPOINT=s02.${LOCAL_DOMAIN}:8080
|
2021-02-09 15:57:37 +00:00
|
|
|
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:RU LED
|
|
|
|
- NEOFS_NODE_ATTRIBUTE_1=Price:33
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
storage03:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-09-22 08:47:39 +00:00
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: s03
|
|
|
|
container_name: s03
|
2020-09-24 10:48:42 +00:00
|
|
|
restart: on-failure
|
2020-07-10 15:14:30 +00:00
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.73
|
2020-09-24 09:34:19 +00:00
|
|
|
volumes:
|
|
|
|
- ./03.key:/03.key
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s03:/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-24 13:55:28 +00:00
|
|
|
- NEOFS_NODE_KEY=/03.key
|
|
|
|
- NEOFS_NODE_ADDRESS=s03.${LOCAL_DOMAIN}:8080
|
|
|
|
- NEOFS_GRPC_ENDPOINT=s03.${LOCAL_DOMAIN}:8080
|
2021-02-09 15:57:37 +00:00
|
|
|
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:SE STO
|
|
|
|
- NEOFS_NODE_ATTRIBUTE_1=Price:11
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
storage04:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${NODE_IMAGE}:${NODE_VERSION}
|
2020-09-22 08:47:39 +00:00
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: s04
|
|
|
|
container_name: s04
|
2020-09-24 10:48:42 +00:00
|
|
|
restart: on-failure
|
2020-07-10 15:14:30 +00:00
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.74
|
2020-09-24 09:34:19 +00:00
|
|
|
volumes:
|
|
|
|
- ./04.key:/04.key
|
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s04:/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
|
|
|
env_file: [ ".env", ".storage.env" ]
|
|
|
|
environment:
|
2020-09-16 13:08:53 +00:00
|
|
|
- NEOFS_NODE_KEY=/04.key
|
2020-09-22 08:47:39 +00:00
|
|
|
- NEOFS_NODE_ADDRESS=s04.${LOCAL_DOMAIN}:8080
|
|
|
|
- NEOFS_GRPC_ENDPOINT=s04.${LOCAL_DOMAIN}:8080
|
2021-02-09 15:57:37 +00:00
|
|
|
- NEOFS_NODE_ATTRIBUTE_0=UN-LOCODE:FI HEL
|
|
|
|
- NEOFS_NODE_ATTRIBUTE_1=Price:44
|
2020-07-10 15:14:30 +00:00
|
|
|
|
2021-01-13 10:28:19 +00:00
|
|
|
volumes:
|
|
|
|
storage_s01:
|
|
|
|
storage_s02:
|
|
|
|
storage_s03:
|
|
|
|
storage_s04:
|
|
|
|
|
2020-07-10 15:14:30 +00:00
|
|
|
networks:
|
|
|
|
storage_int:
|
|
|
|
internet:
|
|
|
|
external:
|
|
|
|
name: basenet_internet
|