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:
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./wallet01.json:/wallet.json
|
2020-09-24 09:34:19 +00:00
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s01:/storage
|
2022-12-21 12:34:14 +00:00
|
|
|
- ./../../vendor/frostfs-cli:/frostfs-cli
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./cli-cfg.yml:/cli-cfg.yml
|
2021-06-29 19:38:01 +00:00
|
|
|
- ./healthcheck.sh:/healthcheck.sh
|
2021-07-06 09:52:22 +00:00
|
|
|
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
2022-12-21 12:34:14 +00:00
|
|
|
- ../nats/client-cert.pem:/etc/frostfs-node/nats.tls.cert
|
|
|
|
- ../nats/client-key.pem:/etc/frostfs-node/nats.tls.key
|
|
|
|
- ../nats/ca-cert.pem:/etc/frostfs-node/nats.ca.crt
|
2022-11-24 12:24:52 +00:00
|
|
|
- ./cfg:/etc/frostfs/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
2022-11-24 12:24:52 +00:00
|
|
|
command: [ "frostfs-node", "--config", "/etc/frostfs/storage/config.yml" ]
|
2020-07-10 15:14:30 +00:00
|
|
|
environment:
|
2023-02-07 08:57:26 +00:00
|
|
|
- FROSTFS_NODE_WALLET_PATH=./wallet.json
|
|
|
|
- FROSTFS_NODE_WALLET_PASSWORD=
|
|
|
|
- FROSTFS_NODE_ADDRESSES=s01.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_GRPC_0_ENDPOINT=s01.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_CONTROL_GRPC_ENDPOINT=s01.${LOCAL_DOMAIN}:8081
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_1=UN-LOCODE:RU MOW
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_2=Price:22
|
2021-06-29 19:38:01 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "/healthcheck.sh"]
|
|
|
|
interval: 2s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 5
|
|
|
|
start_period: 10s
|
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:
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./wallet02.json:/wallet.json
|
2020-09-24 09:34:19 +00:00
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s02:/storage
|
2022-12-21 12:34:14 +00:00
|
|
|
- ./../../vendor/frostfs-cli:/frostfs-cli
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./cli-cfg.yml:/cli-cfg.yml
|
2021-06-29 19:38:01 +00:00
|
|
|
- ./healthcheck.sh:/healthcheck.sh
|
2021-07-06 09:52:22 +00:00
|
|
|
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
2022-12-21 12:34:14 +00:00
|
|
|
- ../nats/client-cert.pem:/etc/frostfs-node/nats.tls.cert
|
|
|
|
- ../nats/client-key.pem:/etc/frostfs-node/nats.tls.key
|
|
|
|
- ../nats/ca-cert.pem:/etc/frostfs-node/nats.ca.crt
|
2022-11-24 12:24:52 +00:00
|
|
|
- ./cfg:/etc/frostfs/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
2022-11-24 12:24:52 +00:00
|
|
|
command: [ "frostfs-node", "--config", "/etc/frostfs/storage/config.yml" ]
|
2020-07-10 15:14:30 +00:00
|
|
|
environment:
|
2023-02-07 08:57:26 +00:00
|
|
|
- FROSTFS_NODE_WALLET_PATH=./wallet.json
|
|
|
|
- FROSTFS_NODE_WALLET_PASSWORD=
|
|
|
|
- FROSTFS_NODE_ADDRESSES=s02.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_GRPC_0_ENDPOINT=s02.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_CONTROL_GRPC_ENDPOINT=s02.${LOCAL_DOMAIN}:8081
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_1=UN-LOCODE:RU LED
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_2=Price:33
|
2021-06-29 19:38:01 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "/healthcheck.sh"]
|
|
|
|
interval: 2s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 5
|
|
|
|
start_period: 10s
|
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:
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./wallet03.json:/wallet.json
|
2020-09-24 09:34:19 +00:00
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s03:/storage
|
2022-12-21 12:34:14 +00:00
|
|
|
- ./../../vendor/frostfs-cli:/frostfs-cli
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./cli-cfg.yml:/cli-cfg.yml
|
2021-06-29 19:38:01 +00:00
|
|
|
- ./healthcheck.sh:/healthcheck.sh
|
2021-07-06 09:52:22 +00:00
|
|
|
- ./s04tls.crt:/etc/ssl/certs/s04tls.crt
|
2022-12-21 12:34:14 +00:00
|
|
|
- ../nats/client-cert.pem:/etc/frostfs-node/nats.tls.cert
|
|
|
|
- ../nats/client-key.pem:/etc/frostfs-node/nats.tls.key
|
|
|
|
- ../nats/ca-cert.pem:/etc/frostfs-node/nats.ca.crt
|
2022-11-24 12:24:52 +00:00
|
|
|
- ./cfg:/etc/frostfs/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
2022-11-24 12:24:52 +00:00
|
|
|
command: [ "frostfs-node", "--config", "/etc/frostfs/storage/config.yml" ]
|
2020-07-10 15:14:30 +00:00
|
|
|
environment:
|
2023-02-07 08:57:26 +00:00
|
|
|
- FROSTFS_NODE_WALLET_PATH=./wallet.json
|
|
|
|
- FROSTFS_NODE_WALLET_PASSWORD=
|
|
|
|
- FROSTFS_NODE_ADDRESSES=s03.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_GRPC_0_ENDPOINT=s03.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_CONTROL_GRPC_ENDPOINT=s03.${LOCAL_DOMAIN}:8081
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_1=UN-LOCODE:SE STO
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_2=Price:11
|
2021-06-29 19:38:01 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "/healthcheck.sh"]
|
|
|
|
interval: 2s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 5
|
|
|
|
start_period: 10s
|
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:
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./wallet04.json:/wallet.json
|
2020-09-24 09:34:19 +00:00
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-01-13 10:28:19 +00:00
|
|
|
- storage_s04:/storage
|
2022-12-21 12:34:14 +00:00
|
|
|
- ./../../vendor/frostfs-cli:/frostfs-cli
|
2022-06-08 13:32:49 +00:00
|
|
|
- ./cli-cfg.yml:/cli-cfg.yml
|
2021-06-29 19:38:01 +00:00
|
|
|
- ./healthcheck.sh:/healthcheck.sh
|
2021-06-10 13:25:02 +00:00
|
|
|
- ./s04tls.crt:/tls.crt
|
|
|
|
- ./s04tls.key:/tls.key
|
2022-12-21 12:34:14 +00:00
|
|
|
- ../nats/client-cert.pem:/etc/frostfs-node/nats.tls.cert
|
|
|
|
- ../nats/client-key.pem:/etc/frostfs-node/nats.tls.key
|
|
|
|
- ../nats/ca-cert.pem:/etc/frostfs-node/nats.ca.crt
|
2022-11-24 12:24:52 +00:00
|
|
|
- ./cfg:/etc/frostfs/storage
|
2020-07-10 15:14:30 +00:00
|
|
|
stop_signal: SIGKILL
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".storage.env", ".int_test.env" ]
|
2022-11-24 12:24:52 +00:00
|
|
|
command: [ "frostfs-node", "--config", "/etc/frostfs/storage/config.yml" ]
|
2020-07-10 15:14:30 +00:00
|
|
|
environment:
|
2023-02-07 08:57:26 +00:00
|
|
|
- FROSTFS_NODE_WALLET_PATH=./wallet.json
|
|
|
|
- FROSTFS_NODE_WALLET_PASSWORD=
|
|
|
|
- FROSTFS_NODE_ADDRESSES=s04.${LOCAL_DOMAIN}:8080 grpcs://s04.${LOCAL_DOMAIN}:8082
|
|
|
|
- FROSTFS_CONTROL_GRPC_ENDPOINT=s04.${LOCAL_DOMAIN}:8081
|
|
|
|
- FROSTFS_GRPC_NUM=2
|
|
|
|
- FROSTFS_GRPC_0_ENDPOINT=s04.${LOCAL_DOMAIN}:8080
|
|
|
|
- FROSTFS_GRPC_1_ENDPOINT=s04.${LOCAL_DOMAIN}:8082
|
|
|
|
- FROSTFS_GRPC_1_TLS_ENABLED=true
|
|
|
|
- FROSTFS_GRPC_1_TLS_CERTIFICATE=/tls.crt
|
|
|
|
- FROSTFS_GRPC_1_TLS_KEY=/tls.key
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_1=UN-LOCODE:FI HEL
|
|
|
|
- FROSTFS_NODE_ATTRIBUTE_2=Price:44
|
2021-06-29 19:38:01 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "/healthcheck.sh"]
|
|
|
|
interval: 2s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 5
|
|
|
|
start_period: 10s
|
2021-07-09 08:22:01 +00:00
|
|
|
|
2021-06-29 19:38:01 +00:00
|
|
|
sn-healthcheck:
|
|
|
|
container_name: sn-healthcheck
|
|
|
|
image: debian:10
|
|
|
|
depends_on:
|
|
|
|
storage01:
|
|
|
|
condition: service_healthy
|
|
|
|
storage02:
|
|
|
|
condition: service_healthy
|
|
|
|
storage03:
|
|
|
|
condition: service_healthy
|
|
|
|
storage04:
|
|
|
|
condition: service_healthy
|
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:
|
2021-10-14 11:04:04 +00:00
|
|
|
external: true
|
|
|
|
name: basenet_internet
|