Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix docker and entry point.
James Colea8080f55f096
diff --git a/.deploy/docker/entrypoint.sh b/.deploy/docker/entrypoint.shindex 2a240720ac..3e419fd2eb 100755--- a/.deploy/docker/entrypoint.sh+++ b/.deploy/docker/entrypoint.sh@@ -16,7 +16,7 @@ mkdir -p $FIREFLY_PATH/storage/upload# make sure we own the volumes:-chown -R $APPLICATION_GID:$APPLICATION_UID -R $FIREFLY_PATH/storage+chown -R www-data:www-data -R $FIREFLY_PATH/storagechmod -R 775 $FIREFLY_PATH/storage# remove any lingering files that may break upgrades:diff --git a/.env.docker b/.env.dockerindex a3e9fe9573..71b52d8f2f 100644--- a/.env.docker+++ b/.env.docker@@ -35,12 +35,12 @@ APP_LOG_LEVEL=notice# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III# For other database types, please see the FAQ: http://firefly-iii.readthedocs.io/en/latest/support/faq.html-DB_CONNECTION=mysql-DB_HOST=127.0.0.1-DB_PORT=3306-DB_DATABASE=homestead-DB_USERNAME=homestead-DB_PASSWORD=secret+DB_CONNECTION=${FF_DB_CONNECTION}+DB_HOST=${FF_DB_HOST}+DB_PORT=${FF_DB_PORT}+DB_DATABASE=${FF_DB_NAME}+DB_USERNAME=${FF_DB_USER}+DB_PASSWORD=${FF_DB_PASSWORD}# If you're looking for performance improvements, you could install memcached.CACHE_DRIVER=filediff --git a/Dockerfile b/Dockerfileindex b585ebe302..f9cf575904 100644--- a/Dockerfile+++ b/Dockerfile@@ -82,7 +82,7 @@ VOLUME $FIREFLY_PATH/storage/export $FIREFLY_PATH/storage/uploadCOPY ./.deploy/docker/apache-firefly.conf /etc/apache2/sites-available/000-default.conf# Make sure we own Firefly III directory-RUN chown -R $APPLICATION_GID:$APPLICATION_UID /var/www && chmod -R 775 $FIREFLY_PATH/storage+RUN chown -R www-data:www-data /var/www && chmod -R 775 $FIREFLY_PATH/storage# Copy in Firefly SourceWORKDIR $FIREFLY_PATHdiff --git a/docker-compose.yml b/docker-compose.ymlindex 28210fcf1b..655086a555 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -12,7 +12,7 @@ services:- FF_APP_KEY=S0m3R@nd0mStr1ngOf32Ch@rsEx@ctly- FF_APP_ENV=local- TZ=Europe/Amsterdam- image: jc5x/firefly-iii+ image: jc5x/firefly-iii:developlinks:- firefly_iii_dbnetworks: