[DEPRECATED] Base image for Yii2 development
10K+
This is a basic docker image for developing Yii2 applications. It's features include:
The default apache config shipped with this image will use /var/www/html/frontend/web as it's document root.
Volumes included are:
/var/www/htmlEverything is run under the www-data user with a home directory of /var/www and which has a uuid of 1000 to avoid permission conflicts with host file systems.
There is a utility script located at /exec-www.sh to help with executing commands as the www-data user from the /var/www/html directory.
By default the entrypoint for the image is /run.sh. If you are running Docker Native for Mac you will need to do the following in order to correctly use XDebug:
docker-compose.yml file to use /run-mac.sh. This will swap the default xdebug.ini for a version configured to use the loopback alias.Content type
Image
Digest
Size
265.4 MB
Last updated
over 9 years ago
docker pull mobilejazz/yii2-docker