mirror of
https://github.com/mikndotdev/freestash.git
synced 2026-08-18 02:47:29 +00:00
Run an Upstash REST API compatible database on your local machine.
| .env.example | ||
| compose.yml | ||
| LICENSE | ||
| readme.md | ||
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.