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.
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 :)
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. |
This project is based on the serverless-redis-http project.