Change gitlab for gitla beacause too many certificat ask

This commit is contained in:
Mathieu Sanchez 2019-04-08 13:50:52 +09:00
parent 7afd40f748
commit 05d9316474

View File

@ -4,11 +4,11 @@ docker run --detach \
--publish 8001:443 \ --publish 8001:443 \
--publish 2201:22 \ --publish 2201:22 \
--hostname gitlab.teksatcau.fr \ --hostname gitlab.teksatcau.fr \
--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'" \ --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'" \
--volume /srv/gitlab/config:/etc/gitlab \ --volume /srv/gitlab/config:/etc/gitlab \
--volume /srv/gitlab/logs:/var/log/gitlab \ --volume /srv/gitlab/logs:/var/log/gitlab \
--volume /srv/gitlab/data:/var/opt/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/gitla.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 \ --volume /etc/letsencrypt/live/gitla.teksatcau.fr/privkey.pem:/etc/gitlab/ssl/gitlab.c2a-systeme.fr.key \
--restart unless-stopped \ --restart unless-stopped \
gitlab/gitlab-ce:latest gitlab/gitlab-ce:latest