mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-25 19:14:12 +08:00
docs: add descriptions for docker
This commit is contained in:
parent
55ac12ee9c
commit
378da096b0
24
README.md
24
README.md
@ -10,6 +10,8 @@ Clash-Meta Dashboard
|
||||
|
||||
## Usage
|
||||
|
||||
### Build locally
|
||||
|
||||
Install npm dependencies
|
||||
|
||||
```shell
|
||||
@ -27,3 +29,25 @@ Serve static files
|
||||
```shell
|
||||
pnpm preview
|
||||
```
|
||||
|
||||
### Run inside Docker
|
||||
|
||||
docker cli
|
||||
|
||||
```shell
|
||||
docker run -d --restart always -p 80:80 --name metacubexd ghcr.io/metacubex/metacubexd
|
||||
```
|
||||
|
||||
docker-compose.yml
|
||||
|
||||
```yaml
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
metacubexd:
|
||||
container_name: metacubexd
|
||||
image: ghcr.io/metacubex/metacubexd
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user