Created
January 6, 2026 06:59
-
-
Save PrintNow/839218faf621d5ebe88bc26555388c21 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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