Initial commit: Chrony NTP Server add-on for Home Assistant

- NTP client syncs from configurable pools and servers
- NTP server mode serves time to LAN clients
- Web UI dashboard showing sync status, sources, and clients
- Supports iburst and maxsources options

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Adam Harrison-Fuller
2026-01-14 22:34:06 +00:00
co-authored by Claude Opus 4.5
commit 8963c16212
18 changed files with 1003 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
ARG BUILD_FROM
FROM $BUILD_FROM
# Install chrony, jq for config parsing, and python for status dashboard
RUN apk add --no-cache \
chrony \
jq \
python3 \
py3-flask
# Copy root filesystem
COPY rootfs /
# Make scripts executable
RUN chmod a+x /etc/s6-overlay/s6-rc.d/chrony/run \
&& chmod a+x /etc/s6-overlay/s6-rc.d/webui/run
WORKDIR /