Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 901 Bytes

readme.md

File metadata and controls

30 lines (22 loc) · 901 Bytes

freestash

Run an Upstash REST API compatible database on your local machine.
This compose file will spin up a Redis-compatible KeyDB database with an accompanying Upstash proxy.

Usage

Download the compose file:

wget https://cdn.statically.io/gh/mikndotdev/freestash/main/compose.yml

Create a .env file with the variables described in the Configuration section;
Start the containers:

docker-compose up -d

enjoy :)

Configuration

The following environment variables can be used to configure the container.

Variable Default Description
UPSTASH_PROXY_PORT 8000 The port to expose the Upstash proxy on.
UPSTASH_TOKEN upstash The token to use for authentication.

Credits

This project is based on the serverless-redis-http project.