Composer/PHP/Caddy running on Alpine Linux
555
Installs php-fpm and composer with a config intended to be invoked from a Caddyfile startup command.
Takes a base Caddyfile from /scripts/Caddyfile and appends additional directives from command arguments to /www/Caddyfile
docker run -v /mnt/Caddyfile:/Scripts/Caddyfile -v /mnt/www:/www mitcdh/caddy-composer "prometheus" "realip {" "from 10.42.0.0/16" "from 172.17.0.0/16" "}"
fastcgi / 127.0.0.1:9000 php
startup php-fpm
startup composer install --prefer-source --no-interaction
/www: default web root/scripts/Caddyfile: Base Caddyfile2015: default caddy web server portContent type
Image
Digest
Size
57 MB
Last updated
about 7 years ago
docker pull mitcdh/caddy-composer