docs: update README.md

This commit is contained in:
kunish 2023-12-01 18:43:40 +08:00
parent 08f1d48575
commit 441957ff46
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430
3 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# metacubexd
Clash.Meta Dashboard, The Official One, XD
Mihomo Dashboard, The Official One, XD
![preview-overview](https://assets.solidjs.com/banner?project=metacubexd)
@ -36,19 +36,19 @@ external-controller: 0.0.0.0:9090
> First time setup
```shell
git clone https://github.com/metacubex/metacubexd.git -b gh-pages /etc/clash-meta/ui
git clone https://github.com/metacubex/metacubexd.git -b gh-pages /etc/mihomo/ui
```
Make sure you have external-ui directory set correctly in your config file
```yaml
external-ui: /etc/clash-meta/ui
external-ui: /etc/mihomo/ui
```
> Update
```shell
git -C /etc/clash-meta/ui pull -r
git -C /etc/mihomo/ui pull -r
```
### Run inside Docker
@ -83,13 +83,13 @@ services:
# optional
meta:
container_name: meta
image: docker.io/metacubex/clash-meta:Alpha
image: docker.io/metacubex/mihomo:Alpha
restart: always
network_mode: host
cap_add:
- NET_ADMIN
volumes:
- ./config.yaml:/root/.config/clash
- ./config.yaml:/root/.config/mihomo
```
Running

View File

@ -11,10 +11,10 @@ services:
# optional
meta:
container_name: meta
image: docker.io/metacubex/clash-meta:Alpha
image: docker.io/metacubex/mihomo:Alpha
restart: always
network_mode: host
cap_add:
- NET_ADMIN
volumes:
- ./config.yaml:/root/.config/clash
- ./config.yaml:/root/.config/mihomo

View File

@ -1,7 +1,7 @@
{
"name": "metacubexd",
"version": "1.131.0",
"description": "Clash.Meta Dashboard, The Official One, XD",
"description": "Mihomo Dashboard, The Official One, XD",
"license": "MIT",
"type": "module",
"scripts": {