C2A-Installation-Server/docker/install-gitlab.sh

13 lines
588 B
Bash
Raw Normal View History

2019-04-05 05:02:19 +00:00
# --env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.c2a-system.dev/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \
2019-04-03 08:44:05 +00:00
docker run --detach \
--name gitlab \
--publish 8001:80 \
--publish 2201:22 \
2019-04-05 05:02:19 +00:00
--hostname gitlab.c2a-system.test \
2019-04-08 03:03:20 +00:00
--env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.teksatcau.fr/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \
2019-04-03 08:44:05 +00:00
--volume /srv/gitlab/config:/etc/gitlab \
--volume /srv/gitlab/logs:/var/log/gitlab \
--volume /srv/gitlab/data:/var/opt/gitlab \
--restart unless-stopped \
gitlab/gitlab-ce:latest