Installs a minimal docker environment on Linux systems for already existing Laravel projects:
- php-fpm
- Xdebug
- Mailhog
- MySQL
- phpMyAdmin
- Docker installed
clonethis repository.chmod 0777on thestoragefolder of your project - needed for the docker user to write data.cdin your cloned repository folder.cp .env.example .env- insert the absolute path of your project in the
.envfile. - fill the .env file parameters
- execute
build.sh - Visit
http://yourhost.local
Launch the commands inside this repository in order to start/stop the containers or perform other actions.
build.sh- builds and launch the containersup.sh- starts the containers (once built)down.sh- stops the containersshell.sh- opens a command shell inside the container (useful for launchingartisancommands)
MIT License