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:
|
2022-08-13 12:22:45 +00:00
|
|
|
- ./az.json:/wallet.json
|
|
|
|
- ./az.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
|
2022-12-21 12:34:14 +00:00
|
|
|
- ./../../vendor/frostfs-cli:/frostfs-cli
|
2021-06-29 19:36:04 +00:00
|
|
|
- ./healthcheck.sh:/healthcheck.sh
|
2022-11-24 17:53:59 +00:00
|
|
|
- ./cfg:/etc/frostfs/ir
|
2022-04-07 12:33:53 +00:00
|
|
|
env_file: [ ".env", ".ir.env", ".int_test.env" ]
|
2022-11-24 17:53:59 +00:00
|
|
|
command: [ "frostfs-ir", "--config", "/etc/frostfs/ir/config.yml" ]
|
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
|