mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
docs(deploy): fix variable passing (#236)
This commit is contained in:
@@ -50,12 +50,12 @@ sudo docker compose up -d
|
|||||||
|
|
||||||
> **Install a specific version:**
|
> **Install a specific version:**
|
||||||
> ```bash
|
> ```bash
|
||||||
> MEMOH_VERSION=v1.0.0 curl -fsSL https://memoh.sh | sudo sh
|
> curl -fsSL https://memoh.sh | sudo MEMOH_VERSION=v1.0.0 sh
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
> **Use CN mirror for slow image pulls:**
|
> **Use CN mirror for slow image pulls:**
|
||||||
> ```bash
|
> ```bash
|
||||||
> USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh
|
> curl -fsSL https://memoh.sh | sudo USE_CN_MIRROR=true sh
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
> On macOS or if your user is in the `docker` group, `sudo` is not required.
|
> On macOS or if your user is in the `docker` group, `sudo` is not required.
|
||||||
|
|||||||
+2
-2
@@ -50,12 +50,12 @@ sudo docker compose up -d
|
|||||||
|
|
||||||
> **安装指定版本:**
|
> **安装指定版本:**
|
||||||
> ```bash
|
> ```bash
|
||||||
> MEMOH_VERSION=v1.0.0 curl -fsSL https://memoh.sh | sudo sh
|
> curl -fsSL https://memoh.sh | sudo MEMOH_VERSION=v1.0.0 sh
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
> **使用中国大陆镜像加速:**
|
> **使用中国大陆镜像加速:**
|
||||||
> ```bash
|
> ```bash
|
||||||
> USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh
|
> curl -fsSL https://memoh.sh | sudo USE_CN_MIRROR=true sh
|
||||||
> ```
|
> ```
|
||||||
>
|
>
|
||||||
> macOS 或用户已在 `docker` 用户组中时,无需 `sudo`。
|
> macOS 或用户已在 `docker` 用户组中时,无需 `sudo`。
|
||||||
|
|||||||
@@ -42,16 +42,16 @@ Defaults when running silently:
|
|||||||
**Install a specific version:**
|
**Install a specific version:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
MEMOH_VERSION=v1.0.0 curl -fsSL https://memoh.sh | sudo sh
|
curl -fsSL https://memoh.sh | sudo MEMOH_VERSION=v1.0.0 sh
|
||||||
```
|
```
|
||||||
|
|
||||||
**Use China mainland mirror** (for slow image pulls):
|
**Use China mainland mirror** (for slow image pulls):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh
|
curl -fsSL https://memoh.sh | sudo USE_CN_MIRROR=true sh
|
||||||
```
|
```
|
||||||
|
|
||||||
> Environment variables can be combined, e.g. `MEMOH_VERSION=v1.0.0 USE_CN_MIRROR=true curl -fsSL https://memoh.sh | sudo sh`
|
> Environment variables can be combined, e.g. `curl -fsSL https://memoh.sh | sudo MEMOH_VERSION=v1.0.0 USE_CN_MIRROR=true sh`
|
||||||
|
|
||||||
## Manual Install
|
## Manual Install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user