Docker Compose for Development Environment
This project was created to simplify development environment setup by using Docker. Please feel free to raise any issue or folk and modify for your own usage.
How to Use
Making sure you are in the mode of ‘Linux Container’. Never mind if your system is not Win10/Win2016
- Download this whole folder to you local
- Open Command Prompt and navigate to that folder
up.batto start all the server
The containers created after the
WARNINGare optional services that might be used for current environment. If you don’t want them you can either ignore them or disable them by remove the second line of
- Done! Your data for CouchDB and ElasticSearch will be saved under this folder
- Shutdown and remove all the containers whenever you want by
Then your machine will be as clean as it was.
Used for local email sending, by default it will bind to local port
9925. You also need to update the SMTP config in you database
It creates all the containers and get them started in the background.
docker-compose up -d docker-compose --file optional-compose.yml up -d
up.bat, it shut down and remove all the containers.
docker-compose down docker-compose --file optional-compose.yml down
Migrating you CouchDB data from your local to Docker data folder
powershell -File .\couchdb\migrate.ps1
Details please refer How to migrate from local CouchDB into docker volume