Notes

The configuration file ddclient.conf is placed on the host machine under /mnt/docker/data/ddclient/config.

Source

version: '3.7'

services:
  ddclient:
    image: lscr.io/linuxserver/ddclient:latest
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /mnt/docker/data/ddclient/config:/etc/ddclient