added elasticsearch

This commit is contained in:
Reinaldy Rafli 2021-11-12 11:26:05 +07:00
parent 3606f73d14
commit 46508973d6
No known key found for this signature in database
GPG Key ID: CFDB9400255D8CB6
2 changed files with 25 additions and 14 deletions

View File

@ -16,24 +16,25 @@ 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
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
Service | Database | Port
--------------- | ----------------- | ---
Adminer | MySQL, PostgreSQL | 2086
Redis Commander | Redis | 2084
Mongo Express | MongoDB | 2083
## Can I access them through my localhost?

View File

@ -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