Docker scripts.
This commit is contained in:
12
bin/docker-gitlab.sh
Executable file
12
bin/docker-gitlab.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
sudo docker run --detach \
|
||||
--name gitlab \
|
||||
--hostname gitlab \
|
||||
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.vostan.org/'; gitlab_rails['lfs_enabled'] = true; gitlab_rails['gitlab_signin_enabled'] = false;" \
|
||||
--publish 8443:443 \
|
||||
--publish 8080:80 \
|
||||
--publish 8022:22 \
|
||||
--restart always \
|
||||
--volume /srv/gitlab/config:/etc/gitlab \
|
||||
--volume /srv/gitlab/logs:/var/log/gitlab \
|
||||
--volume /srv/gitlab/data:/var/opt/gitlab \
|
||||
gitlab/gitlab-ce:latest
|
||||
Reference in New Issue
Block a user