Sign inSign up

dockerhive/laravel-docker

By dockerhive

•Updated about 7 years ago

Basic docker image for all php applications including laravel

Image
0

10K+

dockerhive/laravel-docker repository overview

To enable xdebug (only for local development purposes!) run:

⁠WHEN CONTAINERS ARE RUNNING - LOGIN TO ACCREDITO CONTAINER WITH

docker exec -it /bin/bash accredito_fpm

⁠RUN IN OPENED SHELL OF CONTAINER

pecl install xdebug-2.5.0
docker-php-ext-enable xdebug

sudo echo "
xdebug.remote_enable=1
xdebug.remote_connect_back=1
xdebug.remote_host="accredito.dev"
" >> /usr/local/etc/php/php.ini

sudo service apache2 restart

⁠DONT FORGET TO INSTALL BROWSER EXTENSION FOR XDEBUG

Tag summary

Content type

Image

Digest

Size

373.4 MB

Last updated

about 7 years ago

docker pull dockerhive/laravel-docker