Change gitlab for gitla beacause too many certificat ask

This commit is contained in:
Mathieu Sanchez 2019-04-08 14:14:18 +09:00
parent 026e04e57f
commit c8dcaa0f78

View File

@ -1,5 +1,4 @@
# --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'" \
# --env GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.c2a-systeme.dev/'; gitlab_rails['gitlab_shell_ssh_port'] = 2201;" \
# --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 \
docker run --detach \
@ -8,6 +7,7 @@ docker run --detach \
--publish 2201:22 \
--hostname gitla.teksatcau.fr \
--volume /srv/gitlab/config:/etc/gitlab \
--env GITLAB_OMNIBUS_CONFIG="external_url 'https://gitla.teksatcau.fr/';gitlab_rails['gitlab_shell_ssh_port'] = 2201;nginx['listen_port'] = 80;nginx['listen_https'] = false;" \
--volume /srv/gitlab/logs:/var/log/gitlab \
--volume /srv/gitlab/data:/var/opt/gitlab \
--restart unless-stopped \