Ready to use for development purposes docker-compose project with one-command deployment.
Autosync everything from MongoDB to ElasticSearch using MongoDB Change stream.
All settings are put in .env
file for easy customization.
To run this project all you need is to clone code and have docker-compose installed.
$ git clone https://github.com/akdev-tech/docker-elastic-monstache.git
$ cd docker-elastic-monstache
After that you may change .env file containing hostnames, usernames, passwords and Monstache config.
$ docker-compose up -d
Is deployed in single-node replicaSet configuration
http://127.0.0.1:27017?replSet=dbrs
Root user credentials:
root
rootpassword
User credentials:
username
password
User credentials:
elastic
elasticpass
User credentials:
elastic
elasticpass
Initialization of MongoDB replica set is performed with docker-compose healthcheck
directive, so you may see errors in startup logs for the first time. It is done this way to avoid routine logging in console and executing the initialization command.
This project should be used only in development purposes.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Startup logs containing errors for the first run (until replicaSet is initialized)
docker-compose ps
showsunhealthy
status for mongodb