Add last ip override

This commit is contained in:
2026-01-03 10:32:02 +01:00
parent c428678663
commit 8ab85c002e
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
version: "3.9"
services:
cloudflare-dyndns:
image: python:3.11-slim
@@ -8,6 +10,7 @@ services:
- ./config.ini:/app/config.ini:ro
environment:
- CONFIG_PATH=/app/config.ini
- PYTHONUNBUFFERED=1
command: >
sh -c "pip install --no-cache-dir requests && python cloudflare_dyndns.py"
sh -c "pip install --no-cache-dir requests && python -u cloudflare_dyndns.py"
restart: unless-stopped