From 547495ca4937d773c1f73d4aff0eb3714136a6c0 Mon Sep 17 00:00:00 2001 From: "SilverAg.L" Date: Fri, 31 Oct 2025 04:16:42 +0800 Subject: [PATCH] proxy compose entry. --- mihomo/docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mihomo/docker-compose.yml diff --git a/mihomo/docker-compose.yml b/mihomo/docker-compose.yml new file mode 100644 index 0000000..3ad8ac2 --- /dev/null +++ b/mihomo/docker-compose.yml @@ -0,0 +1,19 @@ +version: '3' + +# config.yaml just see wiki examples. +services: + mihomo: + container_name: mihomo + image: metacubex/mihomo:latest + restart: always + #ports: + # - 7890:7890 + # - 9090:9090 + pid: host + ipc: host + network_mode: host + cap_add: + - ALL + volumes: + - /usr/local/etc/mihomo:/root/.config/mihomo + - /dev/net/tun:/dev/net/tun