Docker-PHP
Features
- Customize the configuration file
- Data is stored in the host
Software Stack
- [x] MongoDB
- [x] Redis
- [x] MySQL
- [x] PHP 7.1 + PHP-FPM
- [x] Nginx with LuaJit
How to use it?
If live behind the GFW please read this post Use Ali cloud
Requirements
Windows and Mac users only need to install Docker
Getting started
git clone https://github.com/huangyanxiong01/docker-php.git
cd docker-php
docker-compose up -d
Now,you can open http://127.0.0.1:3000/ in browser
Configure
You can find the custom $software configuration file in ./docker/$software/etc/
Data
You can find the $software data file in ./docker/$software/Data/
TODO
- [ ] Build a PHP image that contains all of the extensions
- [ ] Write a php test program
- [ ] Optimize the configuration file
- [ ] Write usage documentation
- [ ] Test on Windows
来源:oschina
链接:https://my.oschina.net/u/1433294/blog/809292