firefly-iii/docker/entrypoint.sh

13 lines
386 B
Bash
Raw Normal View History

#!/bin/bash
2017-12-15 02:16:41 -06:00
# make sure we own the volumes:
chown -R www-data:www-data $FIREFLY_PATH/storage/export $FIREFLY_PATH/storage/upload
chmod -R 775 $FIREFLY_PATH/storage/export $FIREFLY_PATH/storage/upload
2017-10-11 03:07:09 -05:00
cat .env.docker | envsubst > .env && cat .env
composer dump-autoload
php artisan optimize
php artisan package:discover
php artisan firefly:instructions install
2017-02-11 03:12:11 -06:00
exec apache2-foreground