version: '3.8' services: orbital-sync: container_name: orbital-sync image: mattwebbio/orbital-sync:latest environment: # Primary Pi-hole (npm-pihole) PRIMARY_HOST_BASE_URL: 'http://10.10.0.16:81' PRIMARY_HOST_PASSWORD: ${PRIMARY_HOST_PASSWORD} # Secondary Pi-hole (ubuntu-manticore) SECONDARY_HOST_1_BASE_URL: 'http://127.0.0.1:8053' SECONDARY_HOST_1_PASSWORD: ${SECONDARY_HOST_PASSWORD} # Sync configuration INTERVAL_MINUTES: '5' # Sync every 5 minutes # What to sync SYNC_WHITELIST: 'true' SYNC_REGEX_WHITELIST: 'true' SYNC_BLACKLIST: 'true' SYNC_REGEXLIST: 'true' SYNC_ADLIST: 'true' SYNC_CLIENT: 'true' SYNC_GROUP: 'true' SYNC_AUDITLOG: 'true' SYNC_STATICDHCPLEASES: 'false' # Don't sync DHCP (not using Pi-hole for DHCP) SYNC_LOCALDNSRECORDS: 'true' # Sync custom DNS entries SYNC_LOCALCNAMERECORDS: 'true' # Sync CNAME records # Logging LOG_LEVEL: 'info' network_mode: host # Required to access localhost Pi-hole restart: unless-stopped