summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheogorath2020-01-13 18:53:14 +0100
committerGitHub2020-01-13 18:53:14 +0100
commite222e4426ddc6cca41ef85d95f3b23378065f94b (patch)
tree30703fc754217f81c8f3657445b95124976cec4d
parent95d3e5c58b6c7b6482c8628ecd16da80b0de4e02 (diff)
parentdeb3b946621b9d9c1f648c9fd4bf1766607b0add (diff)
Merge pull request #248 from b10102016/patch-1
Update example config for gitlab authorization
-rw-r--r--docs/guides/auth/gitlab-self-hosted.md12
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.