Start a new Gitlab-CE
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Start a new Gitlab-CE相关的知识,希望对你有一定的参考价值。
首先根据此文:
http://www.cnblogs.com/flasheryu/p/5740862.html
然后运行以下命令完成docker启动:
docker run --name=gitlab --env="GITLAB_OMNIBUS_CONFIG=registry_external_url ‘https://xxxx.com:xxxx‘;registry_nginx[‘ssl_certificate‘]=‘/etc/letsencrypt/live/xxxx.com/xxxx.com.crt‘;registry_nginx[‘ssl_certificate_key‘]=‘/etc/letsencrypt/live/xxxx.com/xxxx.com.key‘;external_url ‘https://xxxx.com/‘;nginx[‘redirect_http_to_https‘]=true;nginx[‘ssl_certificate‘]=‘/etc/letsencrypt/live/xxxx.com/xxxx.com.crt‘;nginx[‘ssl_certificate_key‘]=‘/etc/letsencrypt/live/xxxx.com/xxxx.com.key‘;" --env="PATH=/opt/gitlab/embedded/bin:/opt/gitlab/bin:/assets:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" --env="TERM=xterm" --volume="/srv/gitlab/config:/etc/gitlab" --volume="/srv/gitlab/logs:/var/log/gitlab" --volume="/srv/gitlab/data:/var/opt/gitlab" --volume="/volumes/proxy/certs:/etc/letsencrypt/live/xxxx.com" -p 0.0.0.0:xxxx:xxxx/tcp -p 0.0.0.0:22:22/tcp -p 0.0.0.0:443:443/tcp -p 0.0.0.0:80:80/tcp --detach=true gitlab/gitlab-ce /assets/wrapper
以上是关于Start a new Gitlab-CE的主要内容,如果未能解决你的问题,请参考以下文章
解决selemium报错 Could not start a new session. Possible causes are invalid address of the remote server
C#:DateTime startTime = new DateTime(); 怎样获取startTime前一年的日期,在线等,高手来
start a new android studio project not working