Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Flatten command, different entrypoint command.
James Cole1bc72fa49f09
diff --git a/.deploy/docker/entrypoint.sh b/.deploy/docker/entrypoint.shindex a7062180d9..54409699c4 100755--- a/.deploy/docker/entrypoint.sh+++ b/.deploy/docker/entrypoint.sh@@ -38,4 +38,4 @@ php artisan cache:clearphp artisan firefly:instructions install-exec /bin/bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND"\ No newline at end of file+exec apache2-foreground\ No newline at end of filediff --git a/Dockerfile b/Dockerfileindex 5f161759ca..42c5f7062c 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,6 +1,6 @@FROM php:7.2-apache-ENV FIREFLY_PATH=/var/www/firefly-iii CURL_VERSION=7.60.0 OPENSSL_VERSION=1.1.1-pre6 COMPOSER_ALLOW_SUPERUSER=1+ENV FIREFLY_PATH=/var/www/firefly-iii COMPOSER_ALLOW_SUPERUSER=1LABEL version="1.3" maintainer="[email protected]"# Create volumes@@ -30,20 +30,16 @@ COPY ./.deploy/docker/apache2.conf /etc/apache2/apache2.conf# Enable default site (Firefly III)COPY ./.deploy/docker/apache-firefly.conf /etc/apache2/sites-available/000-default.conf-# Make sure we own Firefly III directory and enable rewrite + SSL-RUN chown -R www-data:www-data /var/www && chmod -R 775 $FIREFLY_PATH/storage && a2enmod rewrite && a2enmod ssl--# Install PHP exentions, install composer, update languages.-RUN docker-php-ext-install -j$(nproc) zip bcmath ldap gd pdo_pgsql pdo_mysql intl--# Install Composer-RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer--# Update language data.-RUN echo "de_DE.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\n\n" > /etc/locale.gen && locale-gen--# Run composer-RUN composer install --prefer-dist --no-dev --no-scripts --no-suggest+# Run a lot of installation commands:+RUN chown -R www-data:www-data /var/www && \+ chmod -R 775 $FIREFLY_PATH/storage && \+ a2enmod rewrite && a2enmod ssl && \+ docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine)/ && \+ docker-php-ext-install -j$(nproc) zip bcmath ldap gd pdo_pgsql pdo_mysql intl && \+ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \+ echo "de_DE.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\n\n" > /etc/locale.gen && \+ locale-gen && \+ composer install --prefer-dist --no-dev --no-scripts --no-suggest# Expose port 80EXPOSE 80