mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Merge branch 'master' into upgrade-to-14.8.4
This commit is contained in:
commit
2e1fc33e3e
@ -6,6 +6,12 @@ This file only reflects the changes that are made in this image. Please refer to
|
||||
- gitlab: upgrade CE to v14.8.4
|
||||
- gitaly: upgrade to v14.8.4
|
||||
|
||||
**14.8.3**
|
||||
- gitlab: upgrade CE to v14.8.3
|
||||
- gitaly: upgrade to v14.8.3
|
||||
- golang: upgrade to v1.17.8
|
||||
- ubuntu: upgrade to focal-20220316
|
||||
|
||||
**14.8.2**
|
||||
- gitlab: upgrade CE to v14.8.2
|
||||
- gitaly: upgrade to v14.8.2
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
FROM ubuntu:focal-20220113
|
||||
FROM ubuntu:focal-20220316
|
||||
|
||||
ARG VERSION=14.8.4
|
||||
|
||||
ENV GITLAB_VERSION=${VERSION} \
|
||||
RUBY_VERSION=2.7.5 \
|
||||
RUBY_SOURCE_SHA256SUM="2755b900a21235b443bb16dadd9032f784d4a88f143d852bc5d154f22b8781f1" \
|
||||
GOLANG_VERSION=1.17.7 \
|
||||
GOLANG_VERSION=1.17.8 \
|
||||
GITLAB_SHELL_VERSION=13.23.2 \
|
||||
GITLAB_PAGES_VERSION=1.54.0 \
|
||||
GITALY_SERVER_VERSION=14.8.4 \
|
||||
|
||||
@ -1001,6 +1001,7 @@ Below is the complete list of available options that can be used to customize yo
|
||||
| `NGINX_X_FORWARDED_PROTO` | Advanced configuration option for the `proxy_set_header X-Forwarded-Proto` setting in the gitlab nginx vHost configuration. Defaults to `https` when `GITLAB_HTTPS` is `true`, else defaults to `$scheme`. |
|
||||
| `NGINX_REAL_IP_RECURSIVE` | set to `on` if docker container runs behind a reverse proxy,you may not want the IP address of the proxy to show up as the client address. `off` by default. |
|
||||
| `NGINX_REAL_IP_TRUSTED_ADDRESSES` | You can have NGINX look for a different address to use by adding your reverse proxy to the `NGINX_REAL_IP_TRUSTED_ADDRESSES`. Currently only a single entry is permitted. No defaults. |
|
||||
| `NGINX_CUSTOM_GITLAB_SERVER_CONFIG` | Advanced configuration option. You can add custom configuration for nginx as you like (e.g. custom location proxy). This is similar to setting `nginx['custom_gitlab_server_config']` to `gitlab.rb` for gitlab-omnibus. No defaults. |
|
||||
| `REDIS_HOST` | The hostname of the redis server. Defaults to `localhost` |
|
||||
| `REDIS_PORT` | The connection port of the redis server. Defaults to `6379`. |
|
||||
| `REDIS_DB_NUMBER` | The redis database number. Defaults to '0'. |
|
||||
|
||||
@ -94,4 +94,5 @@ server {
|
||||
internal;
|
||||
}
|
||||
|
||||
{{NGINX_CUSTOM_GITLAB_SERVER_CONFIG}}
|
||||
}
|
||||
|
||||
@ -139,4 +139,6 @@ server {
|
||||
root {{GITLAB_INSTALL_DIR}}/public;
|
||||
internal;
|
||||
}
|
||||
|
||||
{{NGINX_CUSTOM_GITLAB_SERVER_CONFIG}}
|
||||
}
|
||||
|
||||
@ -312,6 +312,7 @@ case ${GITLAB_HTTPS} in
|
||||
true) NGINX_X_FORWARDED_PROTO=${NGINX_X_FORWARDED_PROTO:-https} ;;
|
||||
*) NGINX_X_FORWARDED_PROTO=${NGINX_X_FORWARDED_PROTO:-\$scheme} ;;
|
||||
esac
|
||||
NGINX_CUSTOM_GITLAB_SERVER_CONFIG=${NGINX_CUSTOM_GITLAB_SERVER_CONFIG:-}
|
||||
|
||||
## MAIL DELIVERY
|
||||
SMTP_DOMAIN=${SMTP_DOMAIN:-www.gmail.com}
|
||||
|
||||
@ -1329,7 +1329,8 @@ nginx_configure_gitlab() {
|
||||
GITLAB_PORT \
|
||||
NGINX_PROXY_BUFFERING \
|
||||
NGINX_ACCEL_BUFFERING \
|
||||
NGINX_X_FORWARDED_PROTO
|
||||
NGINX_X_FORWARDED_PROTO \
|
||||
NGINX_CUSTOM_GITLAB_SERVER_CONFIG
|
||||
|
||||
nginx_configure_gitlab_ssl
|
||||
nginx_configure_gitlab_hsts
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user