CaddyDocker/start.sh
Fabian Stamm 03c15f6884
All checks were successful
continuous-integration/drone/push Build is passing
Fix start script to support with and without php
2022-02-20 00:37:50 +01:00

8 lines
190 B
Bash

#!/bin/sh
if [ -f "/usr/sbin/php-fpm7" ]; then
/usr/sbin/php-fpm7 --allow-to-run-as-root -D --fpm-config /etc/php7/php-fpm.conf
fi
caddy run --config /etc/Caddyfile --adapter caddyfile