mirror of
https://github.com/daniviga/bite.git
synced 2025-04-18 22:00:11 +02:00
Add an example of NTP with encryption
This commit is contained in:
parent
68e7dc737c
commit
1026df4cd2
9
docker/ntpd/Dockerfile.enc
Normal file
9
docker/ntpd/Dockerfile.enc
Normal file
@ -0,0 +1,9 @@
|
||||
FROM daniviga/ntpd
|
||||
|
||||
COPY ./chrony.keys /etc/chrony/chrony.keys
|
||||
|
||||
RUN echo "keyfile /etc/chrony/chrony.keys" \
|
||||
>> /etc/chrony/chrony.conf
|
||||
|
||||
EXPOSE 123/udp
|
||||
ENTRYPOINT ["chronyd", "-d", "-s", "-x"]
|
1
docker/ntpd/chrony.keys.sample
Normal file
1
docker/ntpd/chrony.keys.sample
Normal file
@ -0,0 +1 @@
|
||||
1 MD5 HEX:D8ACA3A254EF59F83C35CEEFF6EBD2C7C67DB3D9
|
Loading…
Reference in New Issue
Block a user