Skip to content

Instantly share code, notes, and snippets.

@PrintNow
Created January 6, 2026 06:59
Show Gist options
  • Select an option

  • Save PrintNow/839218faf621d5ebe88bc26555388c21 to your computer and use it in GitHub Desktop.

Select an option

Save PrintNow/839218faf621d5ebe88bc26555388c21 to your computer and use it in GitHub Desktop.
services:
paopaodns:
image: sliamb/paopaodns
container_name: paopaodns
restart: always
environment:
CNAUTO: "yes"
ports:
- "153:53/udp"
volumes:
- ./paopaodns-data:/data
networks:
- dns-service
healthcheck:
test: ["CMD", "ping", "-c", "1", "223.5.5.5"] # 检查网络是否通
interval: 5s
retries: 5
start_period: 10s
timeout: 5s
networks:
dns-service:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment