https://github.com/nezhar/php-docker-ssl
A simple docker configuration to use PHP with HTTPS for development
https://github.com/nezhar/php-docker-ssl
docker-configuration hacktoberfest php-docker ssl
Last synced: 9 months ago
JSON representation
A simple docker configuration to use PHP with HTTPS for development
- Host: GitHub
- URL: https://github.com/nezhar/php-docker-ssl
- Owner: nezhar
- Created: 2016-10-12T21:50:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-11T20:19:27.000Z (almost 7 years ago)
- Last Synced: 2025-03-29T18:11:21.811Z (10 months ago)
- Topics: docker-configuration, hacktoberfest, php-docker, ssl
- Language: PHP
- Homepage:
- Size: 1000 Bytes
- Stars: 47
- Watchers: 3
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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).