PHP7 served by Caddy with NewRelic and various other PHP7 extensions on Alpine Linux
665
This creates a Docker container running PHP on Alpine Linux.
I just wanted all the PHP libraries I tend to use. Consider this the kitchen-sink version of the parent container by abiosoft.
It also supports running commands before and after starting PHP-FPM and running
composer install before running PHP-FPM.
docker run -p 80:80 -p 443:443 -v /var/www/html:/srv stevepacker/caddy-phpPHP_BEFORE: command(s) to run prior to running composer install and php-fpmPHP_COMPOSER_FLAGS: flags to include with composer install (ex: --prefer-dist --no-dev)PHP_AFTER: command(s) to run after composer install and php-fpm/srv: Base directory. If a composer.lock is in this directory,
composer install will automatically run prior to starting php-fpm/root/.caddy: When an SSL is generated, files are stored here by Caddy./etc/Caddyfile: If you intend to include your own Caddyfile, mount it here.Content type
Image
Digest
Size
44.6 MB
Last updated
about 10 years ago
docker pull stevepacker/caddy-php7-newrelic