Skip to content

Commit

Permalink
Update versions in README to 0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
absurdfarce committed Jan 27, 2024
1 parent 508d09e commit 614d438
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ To pass configuration to `cql-proxy`, either command-line flags, environment var
```sh
docker run -p 9042:9042 \
--rm datastax/cql-proxy:v0.1.4 \
--rm datastax/cql-proxy:v0.1.5 \
--astra-token <astra-token> --astra-database-id <astra-datbase-id>
```
### Using environment variables
```sh
docker run -p 9042:9042 \
--rm datastax/cql-proxy:v0.1.4 \
--rm datastax/cql-proxy:v0.1.5 \
-e ASTRA_TOKEN=<astra-token> -e ASTRA_DATABASE_ID=<astra-datbase-id>
```
Expand Down Expand Up @@ -196,25 +196,25 @@ There are three methods for using `cql-proxy`:
```sh
docker run -p 9042:9042 \
datastax/cql-proxy:v0.1.4 \
datastax/cql-proxy:v0.1.5 \
--astra-token <astra-token> --astra-database-id <astra-database-id>
```
The `<astra-token>` can be generated using these [instructions]. The proxy also supports using the [Astra Secure Connect Bundle][bundle], but it requires mounting the bundle to a volume in the container:
```sh
docker run -v <your-secure-connect-bundle.zip>:/tmp/scb.zip -p 9042:9042 \
--rm datastax/cql-proxy:v0.1.4 \
--rm datastax/cql-proxy:v0.1.5 \
--astra-bundle /tmp/scb.zip --username <astra-client-id> --password <astra-client-secret>
```
- [Apache Cassandra][cassandra] cluster:
```sh
docker run -p 9042:9042 \
datastax/cql-proxy:v0.1.4 \
datastax/cql-proxy:v0.1.5 \
--contact-points <cluster node IPs or DNS names> [--username <username>] [--password <password>]
```
If you wish to have the docker image removed after you are done with it, add `--rm` before the image name `datastax/cql-proxy:v0.1.4`.
If you wish to have the docker image removed after you are done with it, add `--rm` before the image name `datastax/cql-proxy:v0.1.5`.
### Use Kubernetes
Expand Down

0 comments on commit 614d438

Please sign in to comment.