X Tutup
The Wayback Machine - https://web.archive.org/web/20201108113117/https://github.com/nezhar/php-docker-ssl
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

README.md

PHP Docker with SSL

A simple docker configuration to use PHP with HTTPS for development

This is a simple Dockerfile that uses the PHP-Apache image and creates a self signed certificate to enable the default SSL. This is suitable for development and testing, not for production.

Usage

Download the repository and use the docker compose to build and run the container:

Build container
sudo docker-compose build
Run container
sudo docker-compose up

After you run the command above you should be able to access http://localhost and https://localhost

Alternatively you can directly download the Dockerfile and the php.ini to build the image (you may adjust the php.ini to your needs).

About

A simple docker configuration to use PHP with HTTPS for development

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.
X Tutup