Commit 259ca982 authored by Robert Speicher's avatar Robert Speicher

Add docs for customizing Redis, add example file

parent bfed07ee
development: localhost:6379
test: localhost:6379
production: redis.example.com:6379
...@@ -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:
# if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root # if you run this as root /home/gitlab/gitlab/tmp/pids/resque_worker.pid will be owned by root
# causing the resque worker not to start via init script on next boot/service restart # causing the resque worker not to start via init script on next boot/service restart
## Customizing Resque's Redis connection
If you'd like Resque to connect to a Redis server on a non-standard port or on
a different host, you can configure its connection string in the
**config/resque.yml** file:
production: redis.example.com:6379
**Ok - we have a working application now. ** **Ok - we have a working application now. **
**But keep going - there are some things that should be done ** **But keep going - there are some things that should be done **
...@@ -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:
# of the host serving GitLab. # of the host serving GitLab.
sudo vim /etc/nginx/sites-enabled/gitlab sudo vim /etc/nginx/sites-enabled/gitlab
# Restart nginx: # Restart nginx:
/etc/init.d/nginx restart /etc/init.d/nginx restart
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment