Repository of oanhnn/php-stack
Docker image.
Version 1.0.0 is released and includes some BC changes. Please update your project or using tag
0.1.0
. See detail in CHANGLOG.md
- Base from
alpine:3.8
image - Install supervisor
- Install php-fpm 7.2
- Install nginx
- Install curl
- Docker Engine & Docker Compose
Example for a Laravel application
-
Copy all file in
example-laravel
folder to your project root folder -
Optional: Use test image for production
-
Replace line:
image: oanhnn/php-stack:laravel
bybuild: .
indocker-compose.yml
(line 62) -
Comment mount volumes of
app
service indocker-compose.yml
(line 82-83)# volumes: # - .:/var/www/html
-
-
Build and run
$ docker-compose build app $ docker-compose up -d
All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
If you would like to help take a look at the list of issues.
This project is released under the MIT License.
Copyright © 2018 Oanh Nguyen
Please see License File for more information.