This is a docker/php image extension that adds SSL based on other similar docker images.
195
This is a docker/php image extension that adds SSL based on other similar docker images.
It's in an early stage still in development and testing.
#!/bin/bash
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
LOCALPATH="${SCRIPTPATH}"/web
CERTPATH="${SCRIPTPATH}"/certs
HOSTNAME="yourhostname.com"
EMAIL="[email protected]"
docker run -d \
-v "${LOCALPATH}":/var/www/html \
-v "${CERTPATH}":/etc/letsencrypt/live/ \
-p 80:80 \
-p 443:443 \
-e DO_SSL_LETS_ENCRYPT_FETCH=true \
-e HOSTNAME="${HOSTNAME}" \
-e EMAIL="${EMAIL}" \
--name server-lap \
stockmind/apache-php-ssl
Content type
Image
Digest
Size
140.9 MB
Last updated
almost 8 years ago
docker pull stockmind/apache-php-ssl