Initial commit

This commit is contained in:
2022-01-08 17:41:12 +01:00
commit 12a5ea3132
30 changed files with 267 additions and 0 deletions

7
kapitel12/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM debian:11-slim
RUN apt-get update && apt-get -y install openntpd \
&& mkdir /var/run/openntpd \
&& apt-get clean
COPY ./ntpd.conf /etc/ntpd.conf
EXPOSE 123/udp
ENTRYPOINT ["/usr/sbin/ntpd", "-d", "-f", "/etc/ntpd.conf"]

10
kapitel12/ntpd.conf Normal file
View File

@@ -0,0 +1,10 @@
listen on *
server mmo1.ntp.se weight 1
server mmo2.ntp.se weight 1
server gbg1.ntp.se weight 1
server gbg2.ntp.se weight 1
server sth1.ntp.se weight 1
server sth2.ntp.se weight 1
server svl1.ntp.se weight 1
server svl2.ntp.se weight 1