Skip to content
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

Using Docker Redis with this package? #802

Closed
elie222 opened this issue Dec 29, 2023 · 4 comments
Closed

Using Docker Redis with this package? #802

elie222 opened this issue Dec 29, 2023 · 4 comments

Comments

@elie222
Copy link

elie222 commented Dec 29, 2023

Hey,

We use this package for: https://github.com/elie222/inbox-zero

Curious if there's an easy way for it to work with a Docker Compose Redis? To make it easier for people to get started with our app and not force them to use Upstash for Redis.

@ogzhanolguncu
Copy link
Contributor

Check this out https://github.com/hiett/serverless-redis-http.

@jgresham
Copy link

Check this out https://github.com/hiett/serverless-redis-http.

This worked for me on Mac...
Just replace podman with docker and host.containers.internal with docker's value (host.docker.internal?)

podman run \
    --rm -d -p 8080:80 --name redis-http \
    -e SRH_MODE=env \
    -e SRH_TOKEN=dummy_token \
    -e SRH_CONNECTION_STRING="redis://host.containers.internal:6379" \
    hiett/serverless-redis-http:latest

And redis server running with brew install redis && redis-server

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

Copy link

This issue was closed because it has been stalled for 30 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants