Run an Upstash REST API compatible database on your local machine.
Find a file
maamokun/MikanDev dafd0c7a25 simplified
2024-07-13 00:31:09 +09:00
.env.example initial commit 2024-07-12 23:53:23 +09:00
compose.yml simplified 2024-07-13 00:31:09 +09:00
LICENSE license and readme 2024-07-12 23:56:42 +09:00
readme.md change proxy container 2024-07-13 00:23:47 +09:00

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.