diff options
author | Ian Tsai | 2020-01-08 18:07:02 +0800 |
---|---|---|
committer | ian.ys_tsai | 2020-01-13 19:30:15 +0800 |
commit | deb3b946621b9d9c1f648c9fd4bf1766607b0add (patch) | |
tree | 2522e74e4166a272063a436cb9371e2ca5175c75 /docs/guides/auth | |
parent | 472ae01546ac041657429fb8590c32b1794aff1c (diff) |
Update example config for gitlab authorization
Update example config for gitlab authorization
Signed-off-by: Ian Tsai <b10102016@gmail.com>
Diffstat (limited to 'docs/guides/auth')
-rw-r--r-- | docs/guides/auth/gitlab-self-hosted.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/guides/auth/gitlab-self-hosted.md b/docs/guides/auth/gitlab-self-hosted.md index ea1ad6bd..8b6e6c70 100644 --- a/docs/guides/auth/gitlab-self-hosted.md +++ b/docs/guides/auth/gitlab-self-hosted.md @@ -18,12 +18,12 @@ GitLab (self-hosted) 6. In the `docker-compose.yml` add the following environment variables to `app:` `environment:` ``` -- HMD_DOMAIN=your.codimd.domain -- HMD_URL_ADDPORT=443 -- HMD_PROTOCOL_USESSL=true -- HMD_GITLAB_BASEURL=https://your.gitlab.domain -- HMD_GITLAB_CLIENTID=23462a34example99XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -- HMD_GITLAB_CLIENTSECRET=5532e9dexamplXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +- CMD_DOMAIN=your.codimd.domain +- CMD_URL_ADDPORT=true +- CMD_PROTOCOL_USESSL=true +- CMD_GITLAB_BASEURL=https://your.gitlab.domain +- CMD_GITLAB_CLIENTID=23462a34example99XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +- CMD_GITLAB_CLIENTSECRET=5532e9dexamplXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ``` 7. Run `docker-compose up -d` to apply your settings. |