diff options
author | Robert Speicher <robert@gitlab.com> | 2017-06-15 20:10:50 +0000 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-16 12:15:16 -0500 |
commit | 821ef1d0cbd8958033b8020cfb27ea20a7fbb005 (patch) | |
tree | a76ddaab698467ef97c597367da55137e8f3b02c /doc/administration/environment_variables.md | |
parent | d6aa09d9a2c428db94b7f519a5868863709d433a (diff) | |
download | gitlab-ce-821ef1d0cbd8958033b8020cfb27ea20a7fbb005.tar.gz |
Merge branch 'sh-support-cdns' into 'master'
Support a configurable Rails asset_host to allow for CDNs
See merge request !12102
Diffstat (limited to 'doc/administration/environment_variables.md')
-rw-r--r-- | doc/administration/environment_variables.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/administration/environment_variables.md b/doc/administration/environment_variables.md index b6676026d06..9bcd13a52f7 100644 --- a/doc/administration/environment_variables.md +++ b/doc/administration/environment_variables.md @@ -13,6 +13,7 @@ override certain values. Variable | Type | Description -------- | ---- | ----------- +`GITLAB_CDN_HOST` | string | Sets the hostname for a CDN to serve static assets (e.g. `mycdnsubdomain.fictional-cdn.com`) `GITLAB_ROOT_PASSWORD` | string | Sets the password for the `root` user on installation `GITLAB_HOST` | string | The full URL of the GitLab server (including `http://` or `https://`) `RAILS_ENV` | string | The Rails environment; can be one of `production`, `development`, `staging` or `test` @@ -58,6 +59,9 @@ to the naming scheme `GITLAB_#{name in 1_settings.rb in upper case}`. ## Omnibus configuration +To set environment variables, follow [these +instructions](https://docs.gitlab.com/omnibus/settings/environment-variables.html). + It's possible to preconfigure the GitLab docker image by adding the environment variable `GITLAB_OMNIBUS_CONFIG` to the `docker run` command. For more information see the ['preconfigure-docker-container' section in the Omnibus documentation](http://docs.gitlab.com/omnibus/docker/#preconfigure-docker-container). |