INITIAL COMMIT

This commit is contained in:
2026-04-19 23:14:47 +02:00
commit 4e0640cb3c
6 changed files with 404 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.12-slim
LABEL maintainer="hostinger-dns-sync"
LABEL description="Auto-sync Hostinger DNS records from Traefik Docker labels"
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY dns_sync.py .
# docker.sock is mounted at runtime — no privileged flag needed
CMD ["python", "-u", "dns_sync.py"]