mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
added GITLAB_SSL_SELF_SIGNED configuration option
This commit is contained in:
parent
7d012f8468
commit
5443eb4583
@ -1,6 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
**latest**
|
||||
- added GITLAB_SSL_SELF_SIGNED configuration option to specify use of self signed ssl certificates.
|
||||
- fix git over ssh when the default http/https ports are not used.
|
||||
- compile the assets only if it does not exist or if the gitlab version has changed.
|
||||
- upgrade gitlab-shell to version 1.9.4
|
||||
|
||||
@ -461,6 +461,7 @@ Below is the complete list of available options that can be used to customize yo
|
||||
- **GITLAB_BACKUP_EXPIRY**: Configure how long to keep backups before they are deleted. By default when automated backups are disabled backups are kept forever (0 seconds), else the backups expire in 7 days (604800 seconds).
|
||||
- **GITLAB_SHELL_SSH_PORT**: The ssh port number. Defaults to 22.
|
||||
- **GITLAB_HTTPS**: Set to true to enable https support, disabled by default.
|
||||
- **GITLAB_SSL_SELF_SIGNED**: Set to true when using self signed ssl certificates. false by default.
|
||||
- **REDIS_HOST**: The hostname of the redis server. Defaults to localhost
|
||||
- **REDIS_PORT**: The connection port of the redis server. Defaults to 6379.
|
||||
- **UNICORN_WORKERS**: The number of unicorn workers to start. Defaults to 2.
|
||||
|
||||
@ -9,7 +9,7 @@ http_settings:
|
||||
# password: somepass
|
||||
# ca_file: /etc/ssl/cert.pem
|
||||
# ca_path: /etc/pki/tls/certs
|
||||
self_signed_cert: false
|
||||
self_signed_cert: {{GITLAB_SSL_SELF_SIGNED}}
|
||||
|
||||
# Repositories path
|
||||
# Give the canonicalized absolute pathname,
|
||||
|
||||
@ -4,6 +4,7 @@ set -e
|
||||
GITLAB_HOST=${GITLAB_HOST:-localhost}
|
||||
GITLAB_PORT=${GITLAB_PORT:-}
|
||||
GITLAB_HTTPS=${GITLAB_HTTPS:-false}
|
||||
GITLAB_SSL_SELF_SIGNED=${GITLAB_SSL_SELF_SIGNED:-false}
|
||||
GITLAB_EMAIL=${GITLAB_EMAIL:-gitlab@localhost}
|
||||
GITLAB_SUPPORT=${GITLAB_SUPPORT:-support@localhost}
|
||||
GITLAB_SIGNUP=${GITLAB_SIGNUP:-false}
|
||||
@ -235,6 +236,7 @@ sudo -u git -H sed 's/{{REDIS_PORT}}/'"${REDIS_PORT}"'/' -i /home/git/gitlab/con
|
||||
|
||||
# configure gitlab-shell
|
||||
sudo -u git -H sed 's,{{GITLAB_URL}},'"${GITLAB_URL}"',' -i /home/git/gitlab-shell/config.yml
|
||||
sudo -u git -H sed 's/{{GITLAB_SSL_SELF_SIGNED}}/'"${GITLAB_SSL_SELF_SIGNED}"'/' -i /home/git/gitlab-shell/config.yml
|
||||
sudo -u git -H sed 's/{{REDIS_HOST}}/'"${REDIS_HOST}"'/' -i /home/git/gitlab-shell/config.yml
|
||||
sudo -u git -H sed 's/{{REDIS_PORT}}/'"${REDIS_PORT}"'/' -i /home/git/gitlab-shell/config.yml
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user