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

@ -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. Glad you asked. I'm too lazy to set up different user-password combination, so here it is.
Database | User | Password | Port Database | User | Password | Port
--- | --- | --- | --- ------------- | -------- | -------- | ---
PostgreSQL | postgres | password | 5432 PostgreSQL | postgres | password | 5432
MySQL | root | password | 3306 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 Cassandra | - | - | 9042
Elasticsearch | - | - | 9200
## 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 & Cassandra. 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
--- | --- | --- --------------- | ----------------- | ---
Adminer | MySQL, PostgreSQL | 2086 Adminer | MySQL, PostgreSQL | 2086
Redis Commander | Redis | 2084 Redis Commander | Redis | 2084
Mongo Express | MongoDB | 2083 Mongo Express | MongoDB | 2083

View File

@ -21,7 +21,7 @@ services:
cap_add: cap_add:
- SYS_NICE - SYS_NICE
redis: redis:
image: redis:6.2.5-alpine image: redis:6.2.6-alpine
restart: always restart: always
ports: ports:
- 6379:6379 - 6379:6379
@ -63,6 +63,16 @@ services:
- 9160:9160 - 9160:9160
volumes: volumes:
- "./volume/cassandra/:/var/lib/cassandra" - "./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: mongo-express:
image: mongo-express:1.0.0-alpha.4 image: mongo-express:1.0.0-alpha.4
restart: always restart: always