diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2016-12-13 22:54:50 +0300 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2017-01-13 08:41:50 +0300 |
commit | a532c6040c1c150810122b172a2fad30d1753dfd (patch) | |
tree | 477dcb195d7a7b2fcb09e49b8c39d7e0ffdc6495 /doc | |
parent | f80ab37cc1450fb9dc61149dbc10c245f3681e45 (diff) |
Allow to use ENV variables in redis config
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/installation.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index 9dba03b1924..9cebed34b7e 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -601,6 +601,12 @@ If you want to connect the Redis server via socket, then use the "unix:" URL sch production: url: unix:/path/to/redis/socket +Also you can use environment variables in the `config/resque.yml` file: + + # example + production: + url: <%= ENV.fetch('GITLAB_REDIS_URL') %> + ### Custom SSH Connection If you are running SSH on a non-standard port, you must change the GitLab user's SSH config. |