[GH-ISSUE #320] 怎么连接有用户名的redis? #437

Open
opened 2026-03-07 22:15:27 +03:00 by kerem · 1 comment
Owner

Originally created by @huangchunlong818 on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/320

version: '3'
services:
asynqmon:
image: hibiken/asynqmon:latest
restart: always
container_name: asynqmon
command:
- "-redis-addr=r-rj9wuv8l456kuyru4o1f9i:P4ELLGSa4muqCC11Zr4I@r-rj9wuv8l456kuyru4o1f9i.redis.rds.aliyuncs.com:6379"
- "-redis-db=8"
ports:
- 8090:8080
没有提供用户名的地方。
我的redis 用户名是 r-rj9wuv8l456kuyru4o1f9i
密码是 P4ELLGSa4muqCC11Zr4I
求教

Originally created by @huangchunlong818 on GitHub (Dec 22, 2023). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/320 version: '3' services: asynqmon: image: hibiken/asynqmon:latest restart: always container_name: asynqmon command: - "-redis-addr=r-rj9wuv8l456kuyru4o1f9i:P4ELLGSa4muqCC11Zr4I@r-rj9wuv8l456kuyru4o1f9i.redis.rds.aliyuncs.com:6379" - "-redis-db=8" ports: - 8090:8080 没有提供用户名的地方。 我的redis 用户名是 r-rj9wuv8l456kuyru4o1f9i 密码是 P4ELLGSa4muqCC11Zr4I 求教
Author
Owner

@o98k-ok commented on GitHub (May 30, 2025):

Time flies! Not sure why this got 3 👎 with no responses - maybe due to the exposed password in the example? 🤔
I recently ran into the same issue and found a couple of solutions:

  1. Enhanced options support: Check out this discussion for more Redis connection options. Unfortunately, the latest releases don't include these features yet, so you'll need to build from source.
  2. Alternative workaround: Configure your Redis default user password, then you can connect using the standard format shown in the README.

Hope this helps! 🚀

<!-- gh-comment-id:2921045954 --> @o98k-ok commented on GitHub (May 30, 2025): Time flies! Not sure why this got 3 👎 with no responses - maybe due to the exposed password in the example? 🤔 I recently ran into the same issue and found a couple of solutions: 1. **Enhanced options support**: Check out this [discussion](https://github.com/hibiken/asynqmon/issues/273) for more Redis connection options. Unfortunately, the latest releases don't include these features yet, so you'll need to build from source. 2. **Alternative workaround**: Configure your Redis default user password, then you can connect using the standard format shown in the README. Hope this helps! 🚀
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#437
No description provided.