mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 11:48:05 +00:00
Move docker files, include kubernetes files.
This commit is contained in:
12
.deploy/docker/entrypoint.sh
Executable file
12
.deploy/docker/entrypoint.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
|
||||
cat .env.docker | envsubst > .env && cat .env
|
||||
composer dump-autoload
|
||||
php artisan optimize
|
||||
php artisan package:discover
|
||||
php artisan firefly:instructions install
|
||||
exec apache2-foreground
|
Reference in New Issue
Block a user