Skip to content

Commit cce452b

Browse files
committed
Fix #2392 - update comments about "_gitlab-data" volume mount point.
1 parent 8ec9e46 commit cce452b

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ GitLab is a code hosting software and as such you don't want to lose your code w
215215

216216
* `/home/git/data`
217217

218-
Note that if you are using the `docker-compose` approach, this has already been done for you.
218+
*Note: that if you are using the `docker-compose` approach, you must "inpect" the volumes (```docker volume inpect```) to check the mounted path.*
219219

220220
SELinux users are also required to change the security context of the mount point so that it plays nicely with selinux.
221221

@@ -462,7 +462,14 @@ Out of the four files generated above, we need to install the `gitlab.key`, `git
462462

463463
The default path that the gitlab application is configured to look for the SSL certificates is at `/home/git/data/certs`, this can however be changed using the `SSL_KEY_PATH`, `SSL_CERTIFICATE_PATH` and `SSL_DHPARAM_PATH` configuration options.
464464

465-
If you remember from above, the `/home/git/data` path is the path of the [data store](#data-store), which means that we have to create a folder named `certs/` inside `/srv/docker/gitlab/gitlab/` and copy the files into it and as a measure of security we'll update the permission on the `gitlab.key` file to only be readable by the owner.
465+
If you remember from above, the `/home/git/data` path is the path of the [data store](#data-store), which means that we have to create a folder named `certs/` inside the volume to where `/home/git/data` point and copy the files into it and as a measure of security we'll update the permission on the `gitlab.key` file to only be readable by the owner.
466+
467+
In case use of docker-compose ...
468+
469+
```$>docker volume inspect```
470+
471+
look for "< user >_gitlab-data" and copy the "certs" directory into the "Mountpoint"
472+
466473

467474
```bash
468475
mkdir -p /srv/docker/gitlab/gitlab/certs

0 commit comments

Comments
 (0)