forked from TrueCloudLab/frostfs-dev-env
[#148] Add coredns service
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
e963907bd4
commit
bed94e3ff9
9 changed files with 46 additions and 1 deletions
1
services/coredns/.env
Symbolic link
1
services/coredns/.env
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../.env
|
1
services/coredns/.hosts
Normal file
1
services/coredns/.hosts
Normal file
|
@ -0,0 +1 @@
|
|||
IPV4_PREFIX.53 coredns.LOCAL_DOMAIN
|
8
services/coredns/Corefile
Normal file
8
services/coredns/Corefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
. {
|
||||
nns http://192.168.130.90:30333
|
||||
transfer {
|
||||
to *
|
||||
}
|
||||
log
|
||||
debug
|
||||
}
|
23
services/coredns/docker-compose.yml
Normal file
23
services/coredns/docker-compose.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue