Sign inSign up

stockmind/apache-php-ssl

By stockmind

Updated almost 8 years ago

This is a docker/php image extension that adds SSL based on other similar docker images.

Image
0

195

stockmind/apache-php-ssl repository overview

Docker Apache PHP SSL

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.

Scripts from:

Launch

First launch

#!/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

Tag summary

Content type

Image

Digest

Size

140.9 MB

Last updated

almost 8 years ago

docker pull stockmind/apache-php-ssl