This commit is contained in:
2026-01-25 23:29:04 +08:00
parent 895f6e4bd0
commit 27e7499ad2
8 changed files with 40 additions and 129 deletions

View File

@@ -13,14 +13,7 @@ services:
cap_add:
- ALL
volumes:
- /opt/mihomo:/root/.config/mihomo
# be prepared before compose up.
- ${PWD}/config.yaml:/root/.config/mihomo/config.yaml
- /dev/net/tun:/dev/net/tun
metacubexd:
container_name: metacubexd
image: ghcr.io/metacubex/metacubexd
restart: always
ports:
- '39093:80'
# environment:
# - DEFAULT_BACKEND_URL=http://192.168.1.1:9090