Set REDIS_DB_NUMBER in GitLab Shell

This commit is contained in:
SolidNerd 2016-04-24 12:35:39 +02:00
parent 2a5ca84995
commit efb7d66d44
2 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ redis:
host: "{{REDIS_HOST}}"
port: {{REDIS_PORT}}
# pass: redispass # Allows you to specify the password for Redis
database: 0
database: {{REDIS_DB_NUMBER}}
# socket: /tmp/redis.socket # Only define this if you want to use sockets
namespace: resque:gitlab

View File

@ -1140,7 +1140,8 @@ configure_gitlab_shell() {
GITLAB_SHELL_INSTALL_DIR \
SSL_SELF_SIGNED \
REDIS_HOST \
REDIS_PORT
REDIS_PORT \
REDIS_DB_NUMBER
}
configure_nginx() {