A docker development environment setup with VirtualBox. I built a shell script that will have a lot of utility actions so that you don't need to know docker or linux commands.
git clone [email protected]:ValiNiculae/VirtualDocker.git
Run the shell script sh vdocker and select from the menu what you want to do.
- Create a VM
- Add 2 shared folders - this repo + projects path
- Install docker-compose
- Start the containers (all official images): nginx, php, mysql, redis (for now)
- Add a watcher that will monitor your projects path for any changes and will update the NGINX config accordingly.
- Change root path of the project
- Change domain extension of the project
- Change general domain extension. By default we use
.test.
- Regenerate all NGINX configs and ssl certificates
- It will show a list of configs that need to be added to the windows hosts file
- add more options to the menu
- offer support for Hyper-V
- ...