From e298273d1d49487cc55a0d1aa93e52ead5876256 Mon Sep 17 00:00:00 2001 From: aldy505 Date: Mon, 17 May 2021 16:56:59 +0700 Subject: [PATCH] feat: added cassandra db --- README.md | 3 ++- docker-compose.yml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f512d9f..528b75f 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,11 @@ MySQL | root | password | 3306 Redis | - | - | 6379 MongoDB | root | password | 27017 CouchDB | root | password | 5984 +Cassandra | - | - | 9042 ## How about some kind of admin panel? -Sure, I did setup some of that, too. But, I haven't found a good one for CouchDB. Might update it in the future. +Sure, I did setup some of that, too. But, I haven't found a good one for CouchDB & Cassandra. Might update it in the future. Service | Database | Port --- | --- | --- diff --git a/docker-compose.yml b/docker-compose.yml index 0495971..0556b0a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,6 +52,17 @@ services: volumes: - "./volume/couch/data:/opt/couchdb/data" - "./volume/couch/cfg:/opt/couchdb/etc/local.d" + cassandra: + image: cassandra:3.11.10 + restart: always + ports: + - 7000:7000 + - 7001:7001 + - 7199:7199 + - 9042:9042 + - 9160:9160 + volumes: + - "./volume/cassandra/:/var/lib/cassandra" mongo-express: image: mongo-express:latest restart: always