Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pfitzer/docker-php-fpm
some PHP-8.x docker containers
https://github.com/pfitzer/docker-php-fpm
docker docker-compose dockerfile php-fpm php8
Last synced: about 1 month ago
JSON representation
some PHP-8.x docker containers
- Host: GitHub
- URL: https://github.com/pfitzer/docker-php-fpm
- Owner: pfitzer
- Created: 2020-05-08T12:52:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T17:23:34.000Z (about 1 year ago)
- Last Synced: 2023-11-28T18:33:27.919Z (about 1 year ago)
- Topics: docker, docker-compose, dockerfile, php-fpm, php8
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PHP Docker Image
----------------
**Images**[php-fpm:latest](https://github.com/pfitzer/docker-php-fpm/blob/master/Dockerfile.83)
**Extensions**
* Composer
* gd
* xdebug (PHP<8.3)
* mbstring
* bcmath
* exif
* fileinfo
* gettext
* iconv
* opcache
* soap
* dom
* zip
* xmlrpc
* xmlwiter
* phar
* xml
* sockets
* posix**pull**
````shell script
$ docker pull pfitzer/php-fpm
````Running PHP apps
----------------
#### Running image
Run the PHP-FPM image, mounting a directory from your host.````shell script
docker run -it --name php-fpm -v /path/to/your/app:/var/www/html pfitzer/php-fpm:latest php script.php
````using the docker-compose example
````shell script
cd example
docker-compose up -d
# goto http://localhost:8080
````[![coffee](https://cdn.buymeacoffee.com/buttons/lato-orange.png)](https://www.buymeacoffee.com/pfitzer)