Created
July 25, 2020 06:49
-
-
Save yimeng/cdf32deef4347ca2b74d118cf6d9cf34 to your computer and use it in GitHub Desktop.
gitlab docker install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo docker run --detach \ | |
| --hostname hostname \ | |
| --publish 443:443 --publish 80:80 --publish 2222:22 \ | |
| --name gitlab \ | |
| --volume /data/gitlab/config:/etc/gitlab \ | |
| --volume /data/gitlab/logs:/var/log/gitlab \ | |
| --volume /data/gitlab/data:/var/opt/gitlab \ | |
| gitlab/gitlab-ce:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment