mirror of https://github.com/aldy505/databases.git
feat: added cassandra db
This commit is contained in:
parent
f73d153ea4
commit
e298273d1d
|
@ -23,10 +23,11 @@ MySQL | root | password | 3306
|
||||||
Redis | - | - | 6379
|
Redis | - | - | 6379
|
||||||
MongoDB | root | password | 27017
|
MongoDB | root | password | 27017
|
||||||
CouchDB | root | password | 5984
|
CouchDB | root | password | 5984
|
||||||
|
Cassandra | - | - | 9042
|
||||||
|
|
||||||
## How about some kind of admin panel?
|
## 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
|
Service | Database | Port
|
||||||
--- | --- | ---
|
--- | --- | ---
|
||||||
|
|
|
@ -52,6 +52,17 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "./volume/couch/data:/opt/couchdb/data"
|
- "./volume/couch/data:/opt/couchdb/data"
|
||||||
- "./volume/couch/cfg:/opt/couchdb/etc/local.d"
|
- "./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:
|
mongo-express:
|
||||||
image: mongo-express:latest
|
image: mongo-express:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
|
Loading…
Reference in New Issue