Files
appstore/apps/mosdns-t/latest/docker-compose.yml
T
2026-07-15 00:14:25 +08:00

28 lines
666 B
YAML

services:
mosdns-t:
image: "jasonxtt/mosdns-t:latest"
container_name: ${CONTAINER_NAME}
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "${PANEL_APP_PORT_DNS}:53/tcp"
- "${PANEL_APP_PORT_DNS}:53/udp"
- "${PANEL_APP_PORT_HTTP}:9099/tcp"
volumes:
- "${APP_DATA_DIR}:/cus/mosdns"
healthcheck:
test: ["CMD-SHELL", "wget -q --spider http://127.0.0.1:9099/ || exit 1"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
labels:
createdBy: "Apps"
networks:
- 1panel-network
networks:
1panel-network:
external: true