Rearrange tree of service definitions: move domain.
This commit is contained in:
13
service_definitions/public/gourichon_org/domain/Dockerfile
Normal file
13
service_definitions/public/gourichon_org/domain/Dockerfile
Normal 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" ]
|
||||
12
service_definitions/public/gourichon_org/domain/compose.yaml
Normal file
12
service_definitions/public/gourichon_org/domain/compose.yaml
Normal 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
|
||||
@@ -0,0 +1 @@
|
||||
compose.yaml
|
||||
3
service_definitions/public/gourichon_org/domain/monitor_check_once.sh
Executable file
3
service_definitions/public/gourichon_org/domain/monitor_check_once.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
dig gourichon.org
|
||||
Reference in New Issue
Block a user