chore: update DDNS updater

This commit is contained in:
BatchAccount 1001 2024-12-21 00:24:07 +01:00
parent 4b132414cc
commit b0de9e682b
2 changed files with 3 additions and 7 deletions

View File

@ -5,8 +5,8 @@ After=docker.service
[Service]
WorkingDirectory=/opt/ddns-updater
ExecStart=/usr/bin/docker-compose --project-name ddns-updater up
ExecStop=/usr/bin/docker-compose --project-name ddns-updater down
ExecStart=/usr/bin/docker compose --project-name ddns-updater up
ExecStop=/usr/bin/docker compose --project-name ddns-updater down
TimeoutStartSec=0
Restart=on-failure
StartLimitIntervalSec=60

View File

@ -1,11 +1,7 @@
---
version: "3.0"
services:
updater:
image: qmcgaw/ddns-updater:v2.5.0
image: qmcgaw/ddns-updater:v2.8.2
restart: unless-stopped
environment:
CONFIG: '${CONFIG}'
ports:
- "8000:8000"