docker-php-ssl

6 months after

nerdsandcompany/php-ssl

Nerds and Company PHP + SSL image for Docker This container extends the nerdsandcompany/php-base container. See for more information that container.

Usage

Make sure you add the following lines to your project's Dockerfile:

FROM nerdsandcompany/php-ssl

# The self-signed certificates use these names in the default apache config
# For this copy to work, these files need to be present in the project root.
COPY ssl-cert-snakeoil.key /etc/ssl/private/
COPY ssl-cert-snakeoil.crt /etc/ssl/certs/

# Run composer install if composer.json is present
COPY composer.json /var/www/html/
COPY composer.lock /var/www/html/
RUN [ ! -e composer.json ] || composer install --prefer-source --no-interaction

# Copy dep files first so Docker caches the install step if they don't change
ADD . /var/www/html/

Additionally contains

services

  • SSL (Apache)

PHP Extensions

  • socache_shmcb
  • ssl

See also

License

MIT

Related Repositories

docker-cheat-sheet

docker-cheat-sheet

Docker Cheat Sheet ...

docker-resources

docker-resources

Docker resources collection. docker资源汇总 ...

docker-api

docker-api

A lightweight Ruby client for the Docker Remote API ...

dockercloud-haproxy

dockercloud-haproxy

HAproxy image that autoreconfigures itself when used in Docker Cloud ...

docker-magento2

docker-magento2

Magento2 + Varnish + PHP7 + Redis + SSL (cluster ready) ...