This repository has been archived on 2021-12-12. You can view files and clone it, but cannot push or open issues or pull requests.
kanboard/overlay/usr/local/bin/entrypoint.sh
Robert Kaussow 3a6c690f46
All checks were successful
continuous-integration/drone/push Build is passing
refactor: create a rootless image
2019-09-28 21:00:56 +02:00

8 lines
312 B
Bash
Executable File

#!/bin/sh
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl 1>/dev/null
/usr/local/bin/gomplate -V -o /var/www/app/config.php -f /etc/templates/config.php.tmpl 1>/dev/null
exec supercronic -split-logs /etc/crontabs/nginx 1>/dev/null &
exec php-fpm7 -F &
exec nginx -g "daemon off;"