Docker | Apache | MySQL 5.7 | PHP 7.2.7 | phpMyAdmin
A complete docker ecosystem to run php application with mysql database connectivity on apache server
.env.example
to .env
.env
variable with desired valueserror.log
inside /docker-resource/apache-php/logs/
directorydocker-compose up -d
command to run all servicesdocker-compose restart
(If any container connectivity has problem).env.example
folder to .env
docker exec -it -u ziyed app bash
. You can replace ziyed
with your defined value at env file.composer install
to install the dependencies.php artisan optimize:clear
when ever your have change in env file and wants to clear cache at any time.php artisan migrate
to migrate all database table.npm install
to install node modules.npm run dev
or npm run watch
for building assets.http://localhost
http://localhost:81