-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create custom image for tls cassandra
- Loading branch information
Showing
16 changed files
with
1,478 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 3 additions & 11 deletions
14
shotover-proxy/example-configs/cassandra-tls/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
version: "3.3" | ||
services: | ||
cassandra-one: | ||
image: bitnami/cassandra:4.0.6 | ||
image: shotover-int-tests/cassandra-tls:4.0.6 | ||
ports: | ||
- "9042:9042" | ||
environment: | ||
MAX_HEAP_SIZE: "400M" | ||
MIN_HEAP_SIZE: "400M" | ||
HEAP_NEWSIZE: "48M" | ||
CASSANDRA_ENABLE_SCRIPTED_USER_DEFINED_FUNCTIONS: "true" | ||
CASSANDRA_ENABLE_USER_DEFINED_FUNCTIONS: "true" | ||
CASSANDRA_INIT_MAX_RETRIES: "500" | ||
CASSANDRA_INIT_SLEEP_TIME: "1" | ||
CASSANDRA_KEYSTORE_PASSWORD: "password" | ||
CASSANDRA_TRUSTSTORE_PASSWORD: "password" | ||
CASSANDRA_CLIENT_ENCRYPTION: "true" | ||
volumes: | ||
- ./certs/keystore.p12:/bitnami/cassandra/secrets/keystore | ||
- ./certs/truststore.p12:/bitnami/cassandra/secrets/truststore | ||
- type: tmpfs | ||
target: /bitnami/cassandra | ||
target: /var/lib/cassandra | ||
command: cassandra -f -Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
shotover-proxy/example-configs/docker-images/cassandra-tls-4.0.6/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM library/cassandra:4.0.6 | ||
|
||
COPY ./cassandra.yaml /etc/cassandra/cassandra.yaml | ||
COPY certs/keystore.p12 /etc/cassandra/certs/keystore.p12 |
Oops, something went wrong.