2019-04-08 03:40:52 +00:00
|
|
|
# --env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.c2a-systeme.dev/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \
|
2019-04-03 08:44:05 +00:00
|
|
|
docker run --detach \
|
|
|
|
--name gitlab \
|
2019-04-08 03:40:52 +00:00
|
|
|
--publish 8001:443 \
|
2019-04-03 08:44:05 +00:00
|
|
|
--publish 2201:22 \
|
2019-04-08 03:41:06 +00:00
|
|
|
--hostname gitlab.teksatcau.fr \
|
2019-04-08 04:50:52 +00:00
|
|
|
--env GITLAB_OMNIBUS_CONFIG="external_url 'https://gitla.teksatcau.fr/';gitlab_rails['gitlab_shell_ssh_port'] = 2201; nginx['ssl_certificate'] = '/etc/gitlab/ssl/gitlab.c2a-systeme.fr.crt'; nginx['ssl_certificate_key'] = '/etc/gitlab/ssl/gitlab.c2a-systeme.fr.key'" \
|
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 \
|
2019-04-08 04:50:52 +00:00
|
|
|
--volume /etc/letsencrypt/live/gitla.teksatcau.fr/cert.pem:/etc/gitlab/ssl/gitlab.c2a-systeme.fr.crt \
|
|
|
|
--volume /etc/letsencrypt/live/gitla.teksatcau.fr/privkey.pem:/etc/gitlab/ssl/gitlab.c2a-systeme.fr.key \
|
2019-04-03 08:44:05 +00:00
|
|
|
--restart unless-stopped \
|
|
|
|
gitlab/gitlab-ce:latest
|