Image to fast run php in various setups: php-fpm, crontab, web server.
1.7K
Suggested for development, not for production...
This image expose only ports 80 and 9000, and offers default commands to fast run the containers based on your needs:
enomis-crontab to start crontab. You can place your crontab in /etc/cron.d folder as for standard unix installationenomis-web to run a web server to serve statics assets and process php files via fastcgi (php-fpm is automatically started with this command)enomis-php-fpm to run only php-fpm like base image php:X.Y-fpm; you can also appen standard php-fpm options.NOTE 1: run directly
php-fpmcould be usefull if your application scales, and you wanna avoid the overkill of runng a webserver in each image. This image doesn't cover this case, that should be better implemented using ad hoc reverse proxy with load-balancers (for example nginx with fastcgi).
NOTE 2: the web server by default offers to run only over port 80 without virtualhost. To use this image on multiple projects with routing forwarded by hostname, I suggest to use some "docker reverse proxy" image like jwilder/nginx-proxy or traefik.
You can also run standard image commands avoiding the above "shortcuts", for example:
bash , to access directly into containerphp-fpm ...nginx ...crontab ...Content type
Image
Digest
sha256:7dfaac087…
Size
221.7 MB
Last updated
6 months ago
docker pull enomis/php-easy:8.5