We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
redis를 도커 컨테이너로 띄우고, docker inspect로 redis 서버의 호스트를 집어넣었는데 localhost로 접속하는 문제가 발생했다.
docker inspect
localhost
CacheModule.registerAsync({ inject: [ConfigService], useFactory: (configService: ConfigService): RedisClientOptions => { return { store: redisStore, host: configService.get('CACHE_HOST'), port: configService.get<number>('CACHE_PORT'), } as RedisClientOptions; }, }),
CacheConfigModule
useFactory
The text was updated successfully, but these errors were encountered:
Merge pull request #464 from boostcampwm2023/BE/bugfix/#463-redis-연결-실패
8e39141
Be/bugfix/#463 redis 연결 실패
kimyu0218
Successfully merging a pull request may close this issue.
Description
redis를 도커 컨테이너로 띄우고,
docker inspect
로 redis 서버의 호스트를 집어넣었는데localhost
로 접속하는 문제가 발생했다.How to reproduce it
Todo
CacheConfigModule
전역으로 설정useFactory
타입 오류 수정localhost
기본값으로 접속ETC
The text was updated successfully, but these errors were encountered: