Initial commit
This commit is contained in:
7
kapitel12/Dockerfile
Normal file
7
kapitel12/Dockerfile
Normal 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
10
kapitel12/ntpd.conf
Normal 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
|
Reference in New Issue
Block a user