mirror of https://github.com/aldy505/databases.git
added elasticsearch
This commit is contained in:
parent
3606f73d14
commit
46508973d6
|
@ -17,20 +17,21 @@ Sure. That's why it's a public repository.
|
|||
Glad you asked. I'm too lazy to set up different user-password combination, so here it is.
|
||||
|
||||
Database | User | Password | Port
|
||||
--- | --- | --- | ---
|
||||
------------- | -------- | -------- | ---
|
||||
PostgreSQL | postgres | password | 5432
|
||||
MySQL | root | password | 3306
|
||||
Redis | - | - | 6379
|
||||
MongoDB | root | password | 27017
|
||||
CouchDB | root | password | 5984
|
||||
Cassandra | - | - | 9042
|
||||
Elasticsearch | - | - | 9200
|
||||
|
||||
## 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 & Cassandra. Might update it in the future.
|
||||
|
||||
Service | Database | Port
|
||||
--- | --- | ---
|
||||
--------------- | ----------------- | ---
|
||||
Adminer | MySQL, PostgreSQL | 2086
|
||||
Redis Commander | Redis | 2084
|
||||
Mongo Express | MongoDB | 2083
|
||||
|
|
|
@ -21,7 +21,7 @@ services:
|
|||
cap_add:
|
||||
- SYS_NICE
|
||||
redis:
|
||||
image: redis:6.2.5-alpine
|
||||
image: redis:6.2.6-alpine
|
||||
restart: always
|
||||
ports:
|
||||
- 6379:6379
|
||||
|
@ -63,6 +63,16 @@ services:
|
|||
- 9160:9160
|
||||
volumes:
|
||||
- "./volume/cassandra/:/var/lib/cassandra"
|
||||
elasticsearch:
|
||||
image: elasticsearch:7.14.2
|
||||
restart: always
|
||||
ports:
|
||||
- 9200:9200
|
||||
- 9300:9300
|
||||
environment:
|
||||
- discovery.type=single-node
|
||||
volumes:
|
||||
- "./volume/elasticsearch/:/usr/share/elasticsearch/data"
|
||||
mongo-express:
|
||||
image: mongo-express:1.0.0-alpha.4
|
||||
restart: always
|
||||
|
|
Loading…
Reference in New Issue