Rearrange tree of service definitions: move domain.

This commit is contained in:
Stephane Gourichon
2025-08-15 16:25:54 +02:00
parent 9efff2d36e
commit f63761904f
4 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
FROM debian:stable-slim
MAINTAINER Stéphane Gourichon <stephane_sysadmin@gourichon.org>
RUN export DEBIAN_FRONTEND=noninteractive ; apt-get update && apt-get -y upgrade
RUN export DEBIAN_FRONTEND=noninteractive ; apt-get install --no-install-recommends -y bind9
COPY named.conf.local /etc/bind/
COPY sites /etc/bind/sites
RUN chown bind:bind -Rc /etc/bind/named.conf.local /etc/bind/sites && chmod =0,u=rX -Rc /etc/bind/named.conf.local /etc/bind/sites
EXPOSE 53
ENTRYPOINT ["/usr/sbin/named", "-g", "-u", "bind" ]

View File

@@ -0,0 +1,12 @@
version: '3'
services:
nameserver:
hostname: gouri_nameserver
build:
context: ../../../../andre_etckeeper_history/etc/bind
dockerfile: ../../../gouri_infra/public_services/gourichon_org/domain/Dockerfile
ports:
- "57053:53/udp"
- "57053:53"
restart: always

View File

@@ -0,0 +1 @@
compose.yaml

View File

@@ -0,0 +1,3 @@
#!/bin/bash
dig gourichon.org