Docker: Support for setting cron schedule, PUID, GUID and time zone via env vars.
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 33s

This commit is contained in:
2026-04-26 22:43:51 +02:00
parent c70334e65e
commit ad365339b0
4 changed files with 77 additions and 24 deletions

View File

@@ -1,15 +1,17 @@
version: '3'
services:
nsupdate:
image: git.debilux.org/chris/nsupdate
image: git.debilux.org/chris/nsupdate:latest
container_name: nsupdate
restart: unless-stopped
environment:
- SCHEDULE="*\2 * * * *"
- TZ=Europe/Berlin
- NSUPDATE_INWX_USER=YOUR_INWX_USERNAME
- NSUPDATE_INWX_PASSWORD=YOUR_INWX_PASSWORD
- PUID=1000 # (default: 1000)
- PGID=1000 # (default: 1000)
- VERBOSE=false
- DEBUG=false
- SCHEDULE=*/2 * * * * (default: * * * * *)
- TZ=Europe/Berlin # (default: Etc/UTC)
- NSUPDATE_INWX_USER=${NSUPDATE_INWX_USER}
- NSUPDATE_INWX_PASSWORD=${NSUPDATE_INWX_PASSWORD}
volumes:
- ./data:/config
- ./log:/log
restart: unless-stopped
- ./config:/config
- ./log:/log