mirror of
https://github.com/okxlin/appstore.git
synced 2026-09-25 16:01:04 +00:00
28 lines
666 B
YAML
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
|