Skip to content
This repository
Browse code

Add docs for customizing Redis, add example file

  • Loading branch information...
commit 259ca982da2f2962773ef797fabe6d6641689f5e 1 parent bfed07e
Robert Speicher authored September 18, 2012
3  config/resque.yml.example
... ...
@@ -0,0 +1,3 @@
  1
+development: localhost:6379
  2
+test: localhost:6379
  3
+production: redis.example.com:6379
9  doc/installation.md
Source Rendered
@@ -251,6 +251,14 @@ You can login via web using admin generated with setup:
251 251
     # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root
252 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 262
 **Ok - we have a working application now. **
255 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 284
     # of the host serving GitLab.
277 285
     sudo vim /etc/nginx/sites-enabled/gitlab
278 286
 
279  
-
280 287
     # Restart nginx:
281 288
     /etc/init.d/nginx restart
282 289
 

0 notes on commit 259ca98

Please sign in to comment.
Something went wrong with that request. Please try again.