Skip to content
Permalink
Browse files

Merge pull request #248 from b10102016/patch-1

Update example config for gitlab authorization
  • Loading branch information
SISheogorath committed Jan 13, 2020
2 parents 95d3e5c + deb3b94 commit e222e4426ddc6cca41ef85d95f3b23378065f94b
Showing with 6 additions and 6 deletions.
  1. +6 −6 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.

0 comments on commit e222e44

Please sign in to comment.
You can’t perform that action at this time.