13 lines
499 B
Bash
Executable File
13 lines
499 B
Bash
Executable File
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
|