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

View File

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

View File

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