frostfs-dev-env/services/coredns/docker-compose.yml
Denis Kirillov bed94e3ff9 [#148] Add coredns service
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
2021-11-24 16:01:48 +03:00

23 lines
452 B
YAML

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