mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 19:26:31 -05:00
Update example config for gitlab authorization
Update example config for gitlab authorization Signed-off-by: Ian Tsai <b10102016@gmail.com>
This commit is contained in:
parent
472ae01546
commit
deb3b94662
1 changed files with 6 additions and 6 deletions
|
@ -18,12 +18,12 @@ GitLab (self-hosted)
|
||||||
6. In the `docker-compose.yml` add the following environment variables to `app:` `environment:`
|
6. In the `docker-compose.yml` add the following environment variables to `app:` `environment:`
|
||||||
|
|
||||||
```
|
```
|
||||||
- HMD_DOMAIN=your.codimd.domain
|
- CMD_DOMAIN=your.codimd.domain
|
||||||
- HMD_URL_ADDPORT=443
|
- CMD_URL_ADDPORT=true
|
||||||
- HMD_PROTOCOL_USESSL=true
|
- CMD_PROTOCOL_USESSL=true
|
||||||
- HMD_GITLAB_BASEURL=https://your.gitlab.domain
|
- CMD_GITLAB_BASEURL=https://your.gitlab.domain
|
||||||
- HMD_GITLAB_CLIENTID=23462a34example99XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
- CMD_GITLAB_CLIENTID=23462a34example99XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
- HMD_GITLAB_CLIENTSECRET=5532e9dexamplXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
- CMD_GITLAB_CLIENTSECRET=5532e9dexamplXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
```
|
```
|
||||||
|
|
||||||
7. Run `docker-compose up -d` to apply your settings.
|
7. Run `docker-compose up -d` to apply your settings.
|
||||||
|
|
Loading…
Reference in a new issue