docs: use docker run for quick start in README
Users can pull muxui/pichost from Docker Hub without cloning the repo.
This commit is contained in:
1 parent
80d2bca4e0
commit
1096fa8635
2 files changed
+18
-8
No files matched your search
+9
-4
@@ -58,12 +58,17 @@
|
|||||||
### Docker (recommended)
|
### Docker (recommended)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/O96u/PicHost.git
|
docker run -d \
|
||||||
cd PicHost
|
--name pichost \
|
||||||
docker compose up -d
|
-p 6892:6892 \
|
||||||
|
-v ./data:/data \
|
||||||
|
--restart unless-stopped \
|
||||||
|
muxui/pichost:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Default port: **6892**. Complete the setup wizard in the browser. Image: `muxui/pichost:latest`.
|
Default port: **6892**. Open `http://<host>:6892` in your browser and complete the setup wizard.
|
||||||
|
|
||||||
|
If you cloned the repo, you can also use `docker compose up -d` (see `docker-compose.yml`).
|
||||||
|
|
||||||
### Local development
|
### Local development
|
||||||
|
|
||||||
|
|||||||
@@ -58,12 +58,17 @@
|
|||||||
### Docker(推荐)
|
### Docker(推荐)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/O96u/PicHost.git
|
docker run -d \
|
||||||
cd PicHost
|
--name pichost \
|
||||||
docker compose up -d
|
-p 6892:6892 \
|
||||||
|
-v ./data:/data \
|
||||||
|
--restart unless-stopped \
|
||||||
|
muxui/pichost:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
默认端口 **6892**。浏览器打开后按引导创建管理员即可。镜像:`muxui/pichost:latest`。
|
默认端口 **6892**。浏览器打开 `http://<主机IP>:6892`,按引导创建管理员即可。
|
||||||
|
|
||||||
|
已克隆仓库时也可用 `docker compose up -d`(见仓库内 `docker-compose.yml`)。
|
||||||
|
|
||||||
### 本地开发
|
### 本地开发
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user