A simple server that interfaces Redis with HTTP
deno run --allow-net --allow-env main.ts
# pull from docker hub
docker pull openworkers/redis-fetch-server
docker tag openworkers/redis-fetch-server redis-fetch-server
# or pull from github container registry
docker pull ghcr.io/open-workers/redis-fetch-server
docker tag ghcr.io/open-workers/redis-fetch-server redis-fetch-server
# or build from source
docker build -t redis-fetch-server .
# run
docker network create redis-fetch-net
docker run --rm --net redis-fetch-net --name redis redis:alpine
docker run --rm --net redis-fetch-net -p 3000:3000 -e REDIS_HOST=redis redis-fetch-server
The following environment variables are used and can be overwritten:
REDIS_HOST=localhost
REDIS_PORT=6379
HOST=0.0.0.0
PORT=3000
# PORT=1234 deno run --allow-net --allow-env main.ts
# docker run -p 3000:3000 -e REDIS_HOST=redis redis-fetch-server
This package is licensed under the MIT License. See the LICENSE file for more details.