-
Notifications
You must be signed in to change notification settings - Fork 240
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
Redis URL improvement #23
Comments
You can also set the port and password through a separate variable: Lines 62 to 76 in 385ac59
But I agree that supporting the more conventional URL would be better. |
Oh, that's good enough, thanks! I'm trying to set up Send using Compose at the moment, and this seems adequate. I don't know if you'd be interested to add support, but I wrote a tool for easier deployment of apps such as this one. It's still early, but it's quite useful to me, at least: https://pypi.org/project/docker-harbormaster/ |
Great. I'll leave it open as tracking issue for Redis URL support to be implemented.
Sounds cool. What would 'adding support' mean, having to provide a compose file? You might find this template useful: https://github.com/timvisee/send-docker-compose |
Yes, it's just providing a compose file with the Then you could tell people to just add:
to their config and it would be automatically spun up. It's probably too early for me to push it very hard, I was just wondering whether something like this would be interesting to app developers. |
I added more documentation to the Docker / Docker Compose configs for the
Personally I don't think Redis URL support is worth adding, given these options are already present. But I don't have strong opinions either way as long as separate vars stay supported. imo a higher priority task is to add a |
I wonder what the more conventional approach would be? I've mostly seen separate variables, but maybe Redis URLs are used elsewhere. I'd be happy with both. |
Separate variables are good too, as long as I can specify all of them (host/port/username/pw/db). |
I've now added all desired variables: I've released this as part of It should be available when this pipeline succeeds: https://gitlab.com/timvisee/send/-/pipelines/305718044 |
Right now, the Redis address can just be a hostname. It would be better if Send supported the full URL (
redis://username:password@host:port/dbnum
) so we could point it to already-existing Redis servers.The text was updated successfully, but these errors were encountered: