mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
Add GITLAB_PAGES_ARTIFACTS_SERVER
Signed-off-by: solidnerd <niclas@mietz.io>
This commit is contained in:
parent
df4d252cc9
commit
f765ef06be
@ -166,6 +166,7 @@ production: &base
|
||||
host: {{GITLAB_PAGES_DOMAIN}}
|
||||
port: {{GITLAB_PAGES_PORT}} # Set to 443 if you serve the pages with HTTPS
|
||||
https: {{GITLAB_PAGES_HTTPS}} # Set to true if you serve the pages with HTTPS
|
||||
artifacts_server: {{GITLAB_PAGES_ARTIFACTS_SERVER}}
|
||||
external_http: {{GITLAB_PAGES_EXTERNAL_HTTP}} # If defined, enables custom domain support in GitLab Pages
|
||||
external_https: {{GITLAB_PAGES_EXTERNAL_HTTPS}} # If defined, enables custom domain and certificate support in GitLab Pages
|
||||
|
||||
|
||||
@ -377,6 +377,7 @@ GITLAB_PAGES_ENABLED=${GITLAB_PAGES_ENABLED:-false}
|
||||
GITLAB_PAGES_DOMAIN=${GITLAB_PAGES_DOMAIN:-"example.com"}
|
||||
GITLAB_PAGES_DIR="${GITLAB_PAGES_DIR:-$GITLAB_SHARED_DIR/pages}"
|
||||
GITLAB_PAGES_PORT=${GITLAB_PAGES_PORT:-80}
|
||||
GITLAB_PAGES_ARTIFACTS_SERVER=${GITLAB_PAGES_ARTIFACTS_SERVER:-true}
|
||||
GITLAB_PAGES_HTTPS=${GITLAB_PAGES_HTTPS:-false}
|
||||
GITLAB_PAGES_EXTERNAL_HTTP=${GITLAB_PAGES_EXTERNAL_HTTP:-}
|
||||
GITLAB_PAGES_EXTERNAL_HTTPS=${GITLAB_PAGES_EXTERNAL_HTTPS:-}
|
||||
|
||||
@ -982,7 +982,8 @@ gitlab_configure_pages(){
|
||||
GITLAB_PAGES_ENABLED \
|
||||
GITLAB_PAGES_DOMAIN \
|
||||
GITLAB_PAGES_PORT \
|
||||
GITLAB_PAGES_HTTPS
|
||||
GITLAB_PAGES_HTTPS \
|
||||
GITLAB_PAGES_ARTIFACTS_SERVER
|
||||
|
||||
if [[ -n ${GITLAB_PAGES_EXTERNAL_HTTP} ]]; then
|
||||
update_template ${GITLAB_CONFIG} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user