frostfs-dev-env/services/ir/docker-compose.yml
Evgenii Stratonikov 4d545a7c43 [#135] services: fix docker compose warnings
```
WARN[0000] network internet: network.external.name is deprecated in favor of network.name
```

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-10-20 17:45:59 +03:00

47 lines
1.1 KiB
YAML

---
version: "2.4"
services:
ir01:
image: ${IR_IMAGE}:${IR_VERSION}
domainname: ${LOCAL_DOMAIN}
hostname: ir01
container_name: ir01
restart: on-failure
networks:
ir_int:
internet:
ipv4_address: ${IPV4_PREFIX}.61
stop_signal: SIGKILL
volumes:
- ./wallet01.json:/wallet.json
- ./wallet01.key:/wallet01.key
- ./../../vendor/hosts:/etc/hosts
- ./../../vendor/locode_db:/locode/db
- ./../../vendor/neofs-cli:/neofs-cli
- ./healthcheck.sh:/healthcheck.sh
env_file: [ ".env", ".ir.env" ]
environment:
- NEOFS_IR_WALLET_PATH=/wallet.json
- NEOFS_IR_WALLET_ADDRESS=Nhfg3TbpwogLvDGVvAvqyThbsHgoSUKwtn
- NEOFS_IR_WALLET_PASSWORD=one
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
networks:
ir_int:
internet:
external: true
name: basenet_internet