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 Caddyfile
2015
: default caddy web server port
- abiosoft for caddy-docker which the caddy curl was based on.