Commit a8eb525e72f6883a07539af9429ccd41dbc8698b
Exists in
master
and in
4 other branches
Merge pull request #5168 from DirkR/master
Added description for Redis connection via unix socket
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
doc/install/installation.md
| @@ -344,6 +344,12 @@ a different host, you can configure its connection string via the | @@ -344,6 +344,12 @@ a different host, you can configure its connection string via the | ||
| 344 | # example | 344 | # example |
| 345 | production: redis://redis.example.tld:6379 | 345 | production: redis://redis.example.tld:6379 |
| 346 | 346 | ||
| 347 | +If you want to connect the Redis server via socket, then use the "unix:" URL scheme | ||
| 348 | +and the path to the Redis socket file in the `config/resque.yml` file. | ||
| 349 | + | ||
| 350 | + # example | ||
| 351 | + production: unix:/path/to/redis/socket | ||
| 352 | + | ||
| 347 | ## Custom SSH Connection | 353 | ## Custom SSH Connection |
| 348 | 354 | ||
| 349 | If you are running SSH on a non-standard port, you must change the gitlab user's SSH config. | 355 | If you are running SSH on a non-standard port, you must change the gitlab user's SSH config. |