diff --git a/README.en.md b/README.en.md index 3ab4c2b..c106506 100644 --- a/README.en.md +++ b/README.en.md @@ -58,12 +58,17 @@ ### Docker (recommended) ```bash -git clone https://github.com/O96u/PicHost.git -cd PicHost -docker compose up -d +docker run -d \ + --name pichost \ + -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://: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 diff --git a/README.md b/README.md index 1a56483..8c27971 100644 --- a/README.md +++ b/README.md @@ -58,12 +58,17 @@ ### Docker(推荐) ```bash -git clone https://github.com/O96u/PicHost.git -cd PicHost -docker compose up -d +docker run -d \ + --name pichost \ + -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`)。 ### 本地开发