Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dtaivpp/valkey-samples

This is a set of sample docker compose scripts for creating either a single node Valkey server or a Valkey Cluster.
https://github.com/dtaivpp/valkey-samples

Last synced: 5 days ago
JSON representation

This is a set of sample docker compose scripts for creating either a single node Valkey server or a Valkey Cluster.

Awesome Lists containing this project

README

        

# Valkey Docker Compose Samples

This repo contains a few sample configurations used for testing Valkey. These are all single node configurations. The `valkey-cluster` creates several Valkey instances on one machine to maximize the throughput of Valkey by running in clustered mode. These were used for [this blog](https://valkey.io/blog/testing-the-limits) which provides much more context.

# Setup

1. Copy `sample.env` to a `.env` file: `cp sample.env .env`
2. Modify the values in the `.env` file
- For a reasonably secure password you can use `head -16 /dev/urandom | openssl sha1` to generate the password
- The `NODE_IP` should be set to the IP of the host you are running on
3. `docker compose -f up -d` to start your desired configuraition