# Dynamic DNS Updater
# Updates DNS records when public IP changes
version: '3.8'

services:
  ddns-vish-13340:
    image: favonia/cloudflare-ddns:latest
    network_mode: host
    restart: unless-stopped
    user: "1000:1000"
    read_only: true
    cap_drop: [all]
    security_opt: [no-new-privileges:true]
    environment:
      - CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
      - DOMAINS=api.vish.gg,api.vp.vish.gg,in.vish.gg,client.spotify.vish.gg,spotify.vish.gg
      - PROXIED=false
