summaryrefslogtreecommitdiff
path: root/docs/guides/auth/gitlab-self-hosted.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guides/auth/gitlab-self-hosted.md')
-rw-r--r--docs/guides/auth/gitlab-self-hosted.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/guides/auth/gitlab-self-hosted.md b/docs/guides/auth/gitlab-self-hosted.md
index 8b6e6c70..62ce1122 100644
--- a/docs/guides/auth/gitlab-self-hosted.md
+++ b/docs/guides/auth/gitlab-self-hosted.md
@@ -1,7 +1,6 @@
-GitLab (self-hosted)
-===
+# GitLab (self-hosted)
-**Note:** *This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!*
+*Note:* This guide was written before the renaming. Just replace `HackMD` with `CodiMD` in your mind :smile: thanks!
1. Sign in to your GitLab
2. Navigate to the application management page at `https://your.gitlab.domain/admin/applications` (admin permissions required)
@@ -14,10 +13,9 @@ GitLab (self-hosted)
![Application: HackMD](../../images/auth/gitlab-application-details.png)
-
6. In the `docker-compose.yml` add the following environment variables to `app:` `environment:`
-```
+```Dockerfile
- CMD_DOMAIN=your.codimd.domain
- CMD_URL_ADDPORT=true
- CMD_PROTOCOL_USESSL=true