Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devigner/docker-compose-php
docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql
https://github.com/devigner/docker-compose-php
Last synced: 9 days ago
JSON representation
docker-compose setup to run php5.6 or php7 with php-fpm via nginx and mysql
- Host: GitHub
- URL: https://github.com/devigner/docker-compose-php
- Owner: devigner
- License: mit
- Created: 2015-10-02T22:24:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-22T21:21:20.000Z (almost 8 years ago)
- Last Synced: 2023-02-26T20:26:55.192Z (almost 2 years ago)
- Language: PHP
- Size: 17.6 KB
- Stars: 79
- Watchers: 11
- Forks: 45
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-compose-php
docker-compose setup to run latest PHP 7 under Nginx with every container outputting it's logging
to the docker daemon.# Purpose
Create the ultimate development environment
# Install
Install docker and [docker-compose](https://docs.docker.com/compose/install/)
# Run
$ git clone https://github.com/devigner/docker-compose-php.git
$ cd docker-compose-php
$ docker-compose build
$ docker-compose up -d# Test
Open url http://localhost and you will see a phpinfo page
# http/2
Copy .env.dist to .env and fill in the obvious information
Open url https://example.com and you will see a phpinfo page running in http/2