Public Repository

Last pushed: 8 months ago
Short Description
Apache2.2 + PHP5.5 with sendmail installed
Full Description

Here's the sample bash script:

#!/bin/sh
container=$(sudo docker run -d -p 8055:80 -v /var/www:/var/www -v /etc/apache2/sites-available:/etc/apache2/sites-available -v /etc/apache2/sites-enabled:/etc/apache2/sites-enabled codeyourdream/apache-sendmail-php55)
sudo docker exec -it $container /sendmail_config.sh

After running this script you'll be able to access the websites at your localhost by adding :8055 to the URL.
Note that if your websites use MySQL you need to configure MySQL accordingly (allow connections from docker network, use docker0 IP instead of "localhost" in your database configuration).

Docker Pull Command
Owner
codeyourdream