summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2016-12-14 00:54:50 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2017-01-13 10:41:50 +0500
commita532c6040c1c150810122b172a2fad30d1753dfd (patch)
tree477dcb195d7a7b2fcb09e49b8c39d7e0ffdc6495 /doc/install
parentf80ab37cc1450fb9dc61149dbc10c245f3681e45 (diff)
downloadgitlab-ce-a532c6040c1c150810122b172a2fad30d1753dfd.tar.gz
Allow to use ENV variables in redis config
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md6
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.