2020-07-10 15:14:30 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
version: "2.4"
|
|
|
|
services:
|
2020-09-24 10:48:42 +00:00
|
|
|
|
2020-07-10 15:14:30 +00:00
|
|
|
ir01:
|
2020-09-16 13:08:53 +00:00
|
|
|
image: ${IR_IMAGE}:${IR_VERSION}
|
2020-09-22 08:47:39 +00:00
|
|
|
domainname: ${LOCAL_DOMAIN}
|
|
|
|
hostname: ir01
|
|
|
|
container_name: ir01
|
2020-09-24 10:48:42 +00:00
|
|
|
restart: on-failure
|
2020-07-10 15:14:30 +00:00
|
|
|
networks:
|
|
|
|
ir_int:
|
|
|
|
internet:
|
|
|
|
ipv4_address: ${IPV4_PREFIX}.61
|
|
|
|
stop_signal: SIGKILL
|
2020-09-24 09:34:19 +00:00
|
|
|
volumes:
|
2021-06-23 10:45:58 +00:00
|
|
|
- ./wallet01.json:/wallet.json
|
2021-06-29 19:36:04 +00:00
|
|
|
- ./wallet01.key:/wallet01.key
|
2020-09-24 09:34:19 +00:00
|
|
|
- ./../../vendor/hosts:/etc/hosts
|
2021-02-09 15:57:37 +00:00
|
|
|
- ./../../vendor/locode_db:/locode/db
|
2021-06-29 19:36:04 +00:00
|
|
|
- ./../../vendor/neofs-cli:/neofs-cli
|
|
|
|
- ./healthcheck.sh:/healthcheck.sh
|
2020-07-10 15:14:30 +00:00
|
|
|
env_file: [ ".env", ".ir.env" ]
|
|
|
|
environment:
|
2021-06-23 10:45:58 +00:00
|
|
|
- NEOFS_IR_WALLET_PATH=/wallet.json
|
|
|
|
- NEOFS_IR_WALLET_ADDRESS=Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn
|
|
|
|
- NEOFS_IR_WALLET_PASSWORD=one
|
2021-06-29 19:36:04 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "/healthcheck.sh"]
|
|
|
|
interval: 2s
|
|
|
|
timeout: 1s
|
|
|
|
retries: 5
|
|
|
|
start_period: 20s
|
|
|
|
|
|
|
|
ir-healthcheck:
|
|
|
|
container_name: ir-healthcheck
|
|
|
|
image: debian:10
|
|
|
|
depends_on:
|
|
|
|
ir01:
|
|
|
|
condition: service_healthy
|
2020-07-10 15:14:30 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
ir_int:
|
|
|
|
internet:
|
2021-10-14 11:04:04 +00:00
|
|
|
external: true
|
|
|
|
name: basenet_internet
|