diff --git a/README.md b/README.md index 528b75f..f9aa72b 100644 --- a/README.md +++ b/README.md @@ -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? diff --git a/docker-compose.yml b/docker-compose.yml index 7671071..8cac53b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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