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-server
starting FTP servermake stop-ftp-server
stopping FTP servermake start-mongodb
starting MongoDB servermake stop-mongodb
stopping MongoDB servermake start-mysql
starting MySQL server[*1]
make stop-mysql
stopping MySQL servermake start-postgres
starting PostgreSQL server[*1]
make stop-postgres
stopping PostgreSQL server
[*1]
You might have problem during first initialdocker-compose
and 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.