A PHP Apache development image for Drupal 7 and Drupal 8
462
Use of this image is discouraged. This image is kept to support projects that have not yet moved to a newer setup. The image may be removed without notice.
A PHP Apache development image configured for Drupal 7 and PHP 5.6
/var/www/html./tmp.This image has built-in support for SSL.
To configure SSL, provide the following environment variables:
You will get a browser warning about the self-signed certificate, just accept the connection.
This image has built-in support for xdebug. Remote debugging, profiling and tracing are all available via cookie triggers.
To debug, launch and listen a debugger with the xdebug defaults.
To capture profiling and trace outputs, among other things, mount a directory to /tmp.
xdebug.remote_connect_back. You might want to extend the image and override xdebug.ini, disabling xdebug.remote_connect_back and setting xdebug.remote_host to you host's IP.version: '2'
services:
project-apache:
build: portlandwebworks/drupal-apache:d7
ports:
- "80:80"
- "443:443"
environment:
- MYSQL_HOST=project-mysql
- MYSQL_DATABASE=db_name
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_PORT=3306
- PROJECT_DOMAIN=local.yoursite.com
- SSL_COUNTRY=US
- SSL_STATE=ME
- SSL_LOCALITY=Portland
- SSL_ORG=portlandwebworks.com
- SSL_ORG_UNIT=dev
- [email protected]
links:
- project-mysql
volumes:
- path/to/site:/var/www/html
- path/to/tmp:/tmp
docker run -d -p 80:80 443:443 -e "PROJECT_DOMAIN=local.yourdomain.com" -v path/to/site:/var/www/html portlandwebworks/drupal-apache:d7 -v path/to/tmp:/tmp
Content type
Image
Digest
Size
170 MB
Last updated
about 9 years ago
docker pull portlandwebworks/drupal-apache:d7