Commit 259ca982da2f2962773ef797fabe6d6641689f5e

Authored by Robert Speicher
1 parent bfed07ee

Add docs for customizing Redis, add example file

Showing 2 changed files with 11 additions and 1 deletions   Show diff stats
config/resque.yml.example 0 → 100644
@@ -0,0 +1,3 @@ @@ -0,0 +1,3 @@
  1 +development: localhost:6379
  2 +test: localhost:6379
  3 +production: redis.example.com:6379
doc/installation.md
@@ -251,6 +251,14 @@ You can login via web using admin generated with setup: @@ -251,6 +251,14 @@ You can login via web using admin generated with setup:
251 # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root 251 # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root
252 # causing the resque worker not to start via init script on next boot/service restart 252 # causing the resque worker not to start via init script on next boot/service restart
253 253
  254 +## Customizing Resque's Redis connection
  255 +
  256 +If you'd like Resque to connect to a Redis server on a non-standard port or on
  257 +a different host, you can configure its connection string in the
  258 +**config/resque.yml** file:
  259 +
  260 + production: redis.example.com:6379
  261 +
254 **Ok - we have a working application now. ** 262 **Ok - we have a working application now. **
255 **But keep going - there are some things that should be done ** 263 **But keep going - there are some things that should be done **
256 264
@@ -276,7 +284,6 @@ You can login via web using admin generated with setup: @@ -276,7 +284,6 @@ You can login via web using admin generated with setup:
276 # of the host serving GitLab. 284 # of the host serving GitLab.
277 sudo vim /etc/nginx/sites-enabled/gitlab 285 sudo vim /etc/nginx/sites-enabled/gitlab
278 286
279 -  
280 # Restart nginx: 287 # Restart nginx:
281 /etc/init.d/nginx restart 288 /etc/init.d/nginx restart
282 289