Sign inSign up

kennship/cassandra

By kennship

•Updated almost 11 years ago

Cassandra with authentication

Image
0

1.6K

kennship/cassandra repository overview

⁠kennship/cassandra

This image is based on poklet/cassandra⁠, additionally enabling Cassandra authentication⁠ and authorization⁠.

⁠Ports

Port 9042 means business. There are other ports exposed too.

⁠Environment variables

  • DB_USERNAME: Normal user username. No superuser privileges. Use this for creating a login for apps. Defaults to app1.
  • DB_PASSWORD: Normal user password. Defaults to Tr0ub4dor&3.
  • ADMIN_USERNAME: Administrator. Defaults to admin.
  • ADMIN_PASSWORD: Defaults to correct horse battery staple.
  • CASSANDRA_PASS: Reset the password for the cassandra user. By default it will be changed to a long random string in order to effectively disable access.
  • CLUSTER_NAME: Defaults to Test Cluster.

Usage:

docker run -d --name cassandra \
    -e 'ADMIN_USERNAME=ryan' \
    -e 'ADMIN_PASSWORD=rocketships' \
    -p 9042:9042 \ # or just plain -P
    kennship/cassandra
docker exec -it cassandra cqlsh -u ryan -p rocketships

Check pokle/cassandra⁠ on GitHub for other options.

Tag summary

Content type

Image

Digest

sha256:a671c949a…

Size

181.6 MB

Last updated

almost 11 years ago

docker pull kennship/cassandra