-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mudar ip de host do redis #3
Comments
Fala Evandro! Na verdade você deve especificar dentro do const Env = use('Env');
module.exports = {
connection: Env.get('REDIS_CONNECTION', 'local'),
local: {
host: '127.0.0.1',
port: 6379,
password: null,
db: 0,
keyPrefix: '',
},
bull: {
host: Env.get('REDIS_HOST', '127.0.0.1'),
port: Env.get('REDIS_PORT', '6379'),
password: Env.get('REDIS_PASSWORD', null),
db: 0,
keyPrefix: '',
},
cluster: {
clusters: [
{
host: '127.0.0.1',
port: 6379,
password: null,
db: 0,
},
{
host: '127.0.0.1',
port: 6380,
password: null,
db: 0,
},
],
},
}; Você tem 3 opções de conexão: Na module.exports = {
connection: 'bull',
}; |
Descobri o que tava ocorrendo, eu não usava a porta padrão 6379, utilizo a porta 6380 por ter conflito de portas. Porém quando é utilizado no docker-compose
Valeu pela ajuda @HigoRibeiro |
Hey @evandrogrm, while contributing or interacting in any way in this project, refrain from using any language other than English. I recommend you take a look at the guidelines described here 💜 |
Olá pessoal, boa tarde!
Eu to com o problema de não conseguir configurar o redis para este provider. Está tentando fazer uma conexão para o redis 127.0.0.1 6379, sendo que no arquivo bull.js dentro do config as variaveis de ambiente coloquei outro endereço, tem como alterar?
The text was updated successfully, but these errors were encountered: