frostfs-dev-env/services/coredns/docker-compose.yml
Artem Ivanov 7a4a9b346a Restart coredns on failure
Signed-off-by: Alex Vanin <a.vanin@yadro.com>
2022-09-28 18:36:02 +03:00

25 lines
506 B
YAML

---
version: "2.4"
services:
neofs_coredns:
image: ${COREDNS_IMAGE}:${COREDNS_VERSION}
container_name: coredns
domainname: ${LOCAL_DOMAIN}
hostname: coredns
restart: on-failure
networks:
coredns:
internet:
ipv4_address: ${IPV4_PREFIX}.53
stop_signal: SIGKILL
env_file: [ ".int_test.env" ]
volumes:
- ./Corefile:/Corefile
- ./../../vendor/hosts:/etc/hosts
networks:
coredns:
internet:
external: true
name: basenet_internet