From bfc5c5a7726d2787c1fd7df36a5e15d5a854dbb7 Mon Sep 17 00:00:00 2001 From: Mathieu Sanchez Date: Mon, 8 Apr 2019 12:40:52 +0900 Subject: [PATCH] Try gitlab https --- docker/install-gitlab.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker/install-gitlab.sh b/docker/install-gitlab.sh index dd8a77b..71ffd41 100755 --- a/docker/install-gitlab.sh +++ b/docker/install-gitlab.sh @@ -1,12 +1,14 @@ -# --env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.c2a-system.dev/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \ +# --env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.c2a-systeme.dev/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \ docker run --detach \ --name gitlab \ - --publish 8001:80 \ + --publish 8001:443 \ --publish 2201:22 \ --hostname gitlab.c2a-system.test \ - --env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.teksatcau.fr/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \ + --env GITLAB_OMNIBUS_CONFIG="external_url 'https://gitlab.teksatcau.fr/';gitlab_rails['gitlab_shell_ssh_port'] = 2201; nginx['ssl_certificate'] = '/etc/gitlab/ssl/gitlab.example.com.crt'; nginx['ssl_certificate_key'] = '/etc/gitlab/ssl/gitlab.example.com.key'" \ --volume /srv/gitlab/config:/etc/gitlab \ --volume /srv/gitlab/logs:/var/log/gitlab \ --volume /srv/gitlab/data:/var/opt/gitlab \ + --volume /etc/letsencrypt/live/gitlab.teksatcau.fr/cert.pem:/etc/gitlab/ssl/gitlab.c2a-systeme.fr.crt \ + --volume /etc/letsencrypt/live/gitlab.teksatcau.fr/privkey.pem:/etc/gitlab/ssl/gitlab.c2a-systeme.fr.key \ --restart unless-stopped \ gitlab/gitlab-ce:latest