PHP5-FPM container for running isolated PHP applications.
3.1K
Docker container automated PHP-FPM installation.
This container is on the Docker Hub so you do not need to clone this repo to use it unless you'd like to build a new container based on this one.
To run the container you could simply execute:
docker run leoditommaso/php-fpm
Anyway, that will be useless because you will have a PHP-FPM running with no application configured and with no connection to a webserver. So, the best way to run the container is:
docker run -d -v /PATH/TO/LOGDIR:/var/log/phpfpm -v /PATH/TO/SOCKETDIR:/var/run/phpfpm -v /PATH/TO/APPDIR:/opt/applications leoditommaso/php-fpm:latest
Where:
If you need to customize some setting you should clone this repo, change the appropiate file and then build the container. It's important to know the meaning of each file then:
After making any customization you need execute:
docker build -t newcontainername .
This project is released under MIT License.
Author:: Leandro Di Tommaso ([email protected])
Content type
Image
Digest
sha256:f4de83c7b…
Size
113.9 MB
Last updated
almost 11 years ago
docker pull leoditommaso/php-fpm