Sign inSign up

sfera/a2-fullstack

By sfera

Updated almost 11 years ago

Apache2, php 5.5, xdebug with remote debugging, libgearman, mysql5.56, npm, bower, grunt.

Image
0

1.7K

sfera/a2-fullstack repository overview

a2-fullstack

Apache2, php5.5 as module, xdebug on port 9001 and remote debugging enabled libgearman, npm, bower, grunt for front-end MYSQL 5.5 and z-rays as an apache module.

launch.sh file example:

#!/bin/sh DATABASE_NAME='application' HOST_CONFIG=$PWD'/sites-enabled/' CONTAINER_CONFIG='/etc/apache2/sites-enabled' XDEBUG_PORT=9000 HOST_VOLUME=$PWD'/../' CONTAINER_VOLUME='/var/www/html' CONTAINER_NAME='sfera/php5-xdebug-mysql:1.1' HOST_PORT='80' CONTAINER_PORT='80' DATABASE_HOST_VOLUME=$PWD'/../db/'$DATABASE_NAME'/' DATABASE_CONTAINER_VOLUME='/var/www/mysql/'$DATABASE_NAME'/'

docker run -d -p $XDEBUG_PORT:$XDEBUG_PORT -p $HOST_PORT:$CONTAINER_PORT -ti -v $HOST_CONFIG:$CONTAINER_CONFIG
-v $HOST_VOLUME:$CONTAINER_VOLUME $CONTAINER_NAME

Tag summary

Content type

Image

Digest

sha256:60675cfaa

Size

230.7 MB

Last updated

almost 11 years ago

docker pull sfera/a2-fullstack