mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Various improvements to Docker files.
This commit is contained in:
parent
3c9c46d574
commit
a8ff77addd
@ -23,6 +23,15 @@ chmod -R 775 $FIREFLY_PATH/storage
|
||||
chown -R www-data:www-data -R $FIREFLY_PATH/app
|
||||
chmod -R 775 $FIREFLY_PATH/app
|
||||
|
||||
chown -R www-data:www-data -R $FIREFLY_PATH/framework
|
||||
chmod -R 775 $FIREFLY_PATH/framework
|
||||
|
||||
chown -R www-data:www-data -R $FIREFLY_PATH/logs
|
||||
chmod -R 775 $FIREFLY_PATH/logs
|
||||
|
||||
chown -R www-data:www-data -R $FIREFLY_PATH/upload
|
||||
chmod -R 775 $FIREFLY_PATH/upload
|
||||
|
||||
# remove any lingering files that may break upgrades:
|
||||
rm -f $FIREFLY_PATH/storage/logs/laravel.log
|
||||
|
||||
@ -36,6 +45,5 @@ php artisan firefly:verify
|
||||
php artisan passport:install
|
||||
php artisan cache:clear
|
||||
|
||||
|
||||
php artisan firefly:instructions install
|
||||
exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf --nodaemon
|
@ -87,11 +87,8 @@ RUN echo "en_US.UTF-8 UTF-8\nde_DE.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nit_IT.UTF-8 U
|
||||
# copy Apache config to correct spot.
|
||||
COPY ./.deploy/docker/apache2.conf /etc/apache2/apache2.conf
|
||||
|
||||
# Enable apache mod rewrite..
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Enable apache mod ssl..
|
||||
RUN a2enmod ssl
|
||||
# Enable apache mod rewrite and mod ssl..
|
||||
RUN a2enmod rewrite && a2enmod ssl
|
||||
|
||||
# Create volumes
|
||||
VOLUME $FIREFLY_PATH/storage/export $FIREFLY_PATH/storage/upload
|
||||
|
Loading…
Reference in New Issue
Block a user