dockerizing local development environment like a boss
- Pre-installed Docker
- Docker & Docker Compose basic usage
Migodock pick the easiest to use docker image that available for public. We are using Makefile to run all the tools available. If there any required username or password for the tools, remember that it will be:
username: mickey
password: mouse
Also for the default settings for every tools e.g host, port mostly using the default value but if you don't like it, you can change it on every .env file inside the specific folder of the tools.
make start-ftp-serverstarting FTP servermake stop-ftp-serverstopping FTP servermake start-mongodbstarting MongoDB servermake stop-mongodbstopping MongoDB servermake start-mysqlstarting MySQL server[*1]make stop-mysqlstopping MySQL servermake start-postgresstarting PostgreSQL server[*1]make stop-postgresstopping PostgreSQL server
[*1]You might have problem during first initialdocker-composeand have these kind of error
initdb: error: directory "/<tools-volume>/data" exists but is not empty
try to remove ./<tools-name>/data/.gitkeep and re-execute make start-<tools-name> again will do the tricks.
Any suggestion for improvement or another develepment tools are very welcome, just create pull request to us.
