Sign inSign up

m11s/redis-http-proxy

By m11s

•Updated 11 days ago

Bearer-token-authenticated HTTP proxy for Redis.

Image
0

630

m11s/redis-http-proxy repository overview

⁠m11s/redis-http-proxy

Small, bearer-token-authenticated HTTP proxy for a Redis instance. It exposes Redis commands over HTTP for clients that cannot use the Redis protocol.

⁠Tags

TagUse
latestCurrent release
0.1.0Pinned published release

⁠Usage

docker run --rm -p 8080:80 \
  -e TOKEN=replace-with-a-long-secret \
  -e REDIS_URL=redis://redis:6379 \
  m11s/redis-http-proxy:latest

Run a command with a bearer token:

curl -X POST http://localhost:8080/SET/example/value \
  -H 'Authorization: Bearer replace-with-a-long-secret'
curl -X POST http://localhost:8080/GET/example \
  -H 'Authorization: Bearer replace-with-a-long-secret'

TOKEN is required. REDIS_URL defaults to redis://localhost:6379, and PORT defaults to 80. The unauthenticated GET /healthz endpoint reports whether Redis is reachable. Source and license: m11s-io/docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:5b59226f5…

Size

4.1 MB

Last updated

11 days ago

docker pull m11s/redis-http-proxy