Created
June 21, 2020 16:11
-
-
Save madflojo/4b8cfd33979ea4d5519f625dcd4ae0ee to your computer and use it in GitHub Desktop.
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
cassandra-primary: | |
image: madflojo/cassandra:latest | |
command: /bin/bash -c "sleep 1 && /docker-entrypoint.sh cassandra -f" | |
environment: | |
- CASSANDRA_KEYSPACE=hord | |
expose: | |
- 7000 | |
- 7001 | |
- 7199 | |
- 9042 | |
- 9160 | |
cassandra: | |
image: madflojo/cassandra:latest | |
command: /bin/bash -c "sleep 15 && /docker-entrypoint.sh cassandra -f" | |
environment: | |
- CASSANDRA_SEEDS=cassandra-primary | |
- CASSANDRA_KEYSPACE=hord | |
depends_on: | |
- cassandra-primary | |
expose: | |
- 7000 | |
- 7001 | |
- 7199 | |
- 9042 | |
- 9160 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment