Compare commits

...

2 Commits

Author SHA1 Message Date
7f3996f15b Merge branch 'master' of git.hxr.so:yige/electron-distribution into dev 2020-02-01 17:24:11 +08:00
43ec6cbcdf update README.md 2020-02-01 17:23:28 +08:00
2 changed files with 49 additions and 42 deletions

View File

@ -39,14 +39,18 @@ docker run -itd --name electron-distribution --restart always \
wy373226722/electron-distribution:latest wy373226722/electron-distribution:latest
``` ```
China user: `docker pull registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:latest` or `docker pull ccr.ccs.tencentyun.com/yi-ge/electron-distribution:latest` **China user**
Aliyun: `docker pull registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:latest`
TencentYun: `docker pull ccr.ccs.tencentyun.com/yi-ge/electron-distribution:latest`
**Notice**
You need to configure nginx and SSL by yourself. SCHEME only a tip. You need to configure nginx and SSL by yourself. SCHEME only a tip.
#### Environment #### Environment
| ENV Var | Default | Description | | ENV Var | Default | Description |
|---|---|---| | ----------------------- | -------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `NAME` | `"APP"` | `Your app name. Numbers, letters and "-".` | | `NAME` | `"APP"` | `Your app name. Numbers, letters and "-".` |
| `SCHEME` | `"https"` | `Production environment only work with SSL.` | | `SCHEME` | `"https"` | `Production environment only work with SSL.` |
| `DOMAIN` | `"www.example.com"` | `Your Electron Distribution server-side domain.` | | `DOMAIN` | `"www.example.com"` | `Your Electron Distribution server-side domain.` |

View File

@ -37,8 +37,11 @@ docker run -itd --name electron-distribution --restart always \
wy373226722/electron-distribution wy373226722/electron-distribution
``` ```
国内用户: `docker pull registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:latest` or `docker pull ccr.ccs.tencentyun.com/yi-ge/electron-distribution:latest` **国内用户**
阿里云镜像:`docker pull registry.cn-shenzhen.aliyuncs.com/yi-ge/electron-distribution:latest`
腾讯云镜像:`docker pull ccr.ccs.tencentyun.com/yi-ge/electron-distribution:latest`
**注意**
你需要自行安装Nginx并配置使其支持SSL这是必须的否则应用程序自动更新可能会失效。`SCHEME`只是一个标识。 你需要自行安装Nginx并配置使其支持SSL这是必须的否则应用程序自动更新可能会失效。`SCHEME`只是一个标识。
#### 环境变量 #### 环境变量