Mihomo Dashboard, The Official One, XD
GH Pages: https://metacubex.github.io/metacubexd
Cloudflare Pages: https://metacubexd.pages.dev
external-controller: 0.0.0.0:9090First time setup
git clone https://github.com/metacubex/metacubexd.git -b gh-pages /etc/mihomo/uiMake sure you have external-ui directory set correctly in your config file
external-ui: /etc/mihomo/uiUpdate
git -C /etc/mihomo/ui pull -rdocker cli
Running
docker run -d --restart always -p 80:80 --name metacubexd ghcr.io/metacubex/metacubexdUpdate and Restart
docker pull ghcr.io/metacubex/metacubexd && docker restart metacubexddocker-compose.yml
version: '3'
services:
metacubexd:
container_name: metacubexd
image: ghcr.io/metacubex/metacubexd
restart: always
ports:
- '80:80'
# optional
meta:
container_name: meta
image: docker.io/metacubex/mihomo:Alpha
restart: always
pid: host
ipc: host
network_mode: host
cap_add:
- ALL
volumes:
- ./config.yaml:/root/.config/mihomo
- /dev/net/tun:/dev/net/tunRunning
docker compose up -dUpdate and Restart
docker compose pull && docker compose up -dInstall npm dependencies
pnpm installBuild artifacts
pnpm buildServe static files
pnpm serve