Skip to content

Commit

Permalink
chore: add config to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalvas committed Aug 22, 2024
1 parent a41c6bf commit 893b04f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

This is a simple proxy that allows you to use Cassandra as a cache backend for Redis.

## Configuration

The configuration is done through environment variables:

* `PROXY_LOG_LEVEL` (default: `info`): Log level. Possible values are `debug`, `info`, `warn`, `error`.
* `PROXY_CASSANDRA_HOSTS` (default: `localhost`): Comma separated list of Cassandra hosts.
* `PROXY_CASSANDRA_KEYSPACE` (default: `key_value_store`): Cassandra keyspace.
* `PROXY_CASSANDRA_TABLE` (default: `key_value): Cassandra table.
* `PROXY_REDIS_ADDRESS` (default: `:6380`): Redis listen address.

## Cassandra

Requires a cassandra version 3.0 or higher.
Expand Down

0 comments on commit 893b04f

Please sign in to comment.