Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
259ca982
Commit
259ca982
authored
Sep 18, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs for customizing Redis, add example file
parent
bfed07ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
config/resque.yml.example
config/resque.yml.example
+3
-0
doc/installation.md
doc/installation.md
+8
-1
No files found.
config/resque.yml.example
0 → 100644
View file @
259ca982
development: localhost:6379
test: localhost:6379
production: redis.example.com:6379
doc/installation.md
View file @
259ca982
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment