[#148] Add coredns service

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2021-11-23 09:44:19 +03:00 committed by Alex Vanin
parent e963907bd4
commit bed94e3ff9
9 changed files with 46 additions and 1 deletions

1
services/coredns/.env Symbolic link
View file

@ -0,0 +1 @@
../../.env

1
services/coredns/.hosts Normal file
View file

@ -0,0 +1 @@
IPV4_PREFIX.53 coredns.LOCAL_DOMAIN

View file

@ -0,0 +1,8 @@
. {
nns http://192.168.130.90:30333
transfer {
to *
}
log
debug
}

View file

@ -0,0 +1,23 @@
---
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