Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dtaivpp/valkey-samples
- Owner: dtaivpp
- License: mit
- Created: 2024-10-17T18:12:55.000Z (29 days ago)
- Default Branch: main
- Last Pushed: 2024-10-21T20:19:20.000Z (25 days ago)
- Last Synced: 2024-10-22T14:29:10.026Z (25 days ago)
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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