mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
script: update version management
This commit is contained in:
+10
-5
@@ -48,11 +48,16 @@ cd Memoh
|
||||
sudo docker compose up -d
|
||||
```
|
||||
|
||||
> 若镜像拉取较慢,可使用中国大陆镜像源配置:
|
||||
```bash
|
||||
sudo docker compose -f docker-compose.yml -f docker/docker-compose.cn.yml up -d
|
||||
```
|
||||
|
||||
> **安装指定版本:**
|
||||
> ```bash
|
||||
> MEMOH_VERSION=v1.0.0 curl -fsSL https://memoh.sh | sudo sh
|
||||
> ```
|
||||
>
|
||||
> **使用中国大陆镜像加速:**
|
||||
> ```bash
|
||||
> USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh
|
||||
> ```
|
||||
>
|
||||
> macOS 或用户已在 `docker` 用户组中时,无需 `sudo`。
|
||||
|
||||
启动后访问 <http://localhost:8082>。默认登录:`admin` / `admin123`
|
||||
|
||||
Reference in New Issue
Block a user