@@ -904,7 +904,7 @@ for the changes to take effect.
...
@@ -904,7 +904,7 @@ for the changes to take effect.
If you'd like to connect to a Redis server on a non-standard port or a different host, you can configure its connection string via the `config/resque.yml` file.
If you'd like to connect to a Redis server on a non-standard port or a different host, you can configure its connection string via the `config/resque.yml` file.
```
```yaml
# example
# example
production:
production:
url:redis://redis.example.tld:6379
url:redis://redis.example.tld:6379
...
@@ -912,7 +912,7 @@ production:
...
@@ -912,7 +912,7 @@ production:
If you want to connect the Redis server via socket, use the "unix:" URL scheme and the path to the Redis socket file in the `config/resque.yml` file.
If you want to connect the Redis server via socket, use the "unix:" URL scheme and the path to the Redis socket file in the `config/resque.yml` file.
```
```yaml
# example
# example
production:
production:
url:unix:/path/to/redis/socket
url:unix:/path/to/redis/socket
...
@@ -920,7 +920,7 @@ production:
...
@@ -920,7 +920,7 @@ production:
Also, you can use environment variables in the `config/resque.yml` file:
Also, you can use environment variables in the `config/resque.yml` file:
```
```yaml
# example
# example
production:
production:
url:<%= ENV.fetch('GITLAB_REDIS_URL') %>
url:<%= ENV.fetch('GITLAB_REDIS_URL') %>
...
@@ -930,7 +930,7 @@ production:
...
@@ -930,7 +930,7 @@ production:
If you are running SSH on a non-standard port, you must change the GitLab user's SSH config.
If you are running SSH on a non-standard port, you must change the GitLab user's SSH config.
```
```plaintext
# Add to /home/git/.ssh/config
# Add to /home/git/.ssh/config
host localhost # Give your setup a name (here: override localhost)
host localhost # Give your setup a name (here: override localhost)