install supervisor
configure supervisor to start apache2
configure supervisor to start mysqld
use cat inplace of tee
added DB_INIT env variable to enable database migration tasks
added DB_POOL env variable to specily the db connections pool count.
do not recursively apply chmod and chown on /redmine/files
install sudo
run commands with 'sudo -u www-data -H ' prefix when it makes sense