Fix env file, fix logging

This commit is contained in:
James Cole
2020-08-01 05:49:45 +02:00
parent 07b93037b3
commit 3d5230228e
2 changed files with 6 additions and 4 deletions

View File

@@ -46,13 +46,13 @@ TRUSTED_PROXIES=
# - Docker + versions >= 5.1.1 : use "stack" # - Docker + versions >= 5.1.1 : use "stack"
# - For everything else (als not Docker) : use 'stack' # - For everything else (als not Docker) : use 'stack'
LOG_CHANNEL=stack LOG_CHANNEL=single
# Log level. You can set this from least severe to most severe: # Log level. You can set this from least severe to most severe:
# debug, info, notice, warning, error, critical, alert, emergency # debug, info, notice, warning, error, critical, alert, emergency
# If you set it to debug your logs will grow large, and fast. If you set it to emergency probably # If you set it to debug your logs will grow large, and fast. If you set it to emergency probably
# nothing will get logged, ever. # nothing will get logged, ever.
APP_LOG_LEVEL=debug APP_LOG_LEVEL=info
# Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III # Database credentials. Make sure the database exists. I recommend a dedicated user for Firefly III
# For other database types, please see the FAQ: https://docs.firefly-iii.org/support/faq # For other database types, please see the FAQ: https://docs.firefly-iii.org/support/faq
@@ -82,8 +82,8 @@ PGSQL_SSL_KEY=null
PGSQL_SSL_CRL_FILE=null PGSQL_SSL_CRL_FILE=null
# If you're looking for performance improvements, you could install memcached. # If you're looking for performance improvements, you could install memcached.
CACHE_DRIVER=file CACHE_DRIVER=array
SESSION_DRIVER=file SESSION_DRIVER=array
# If you set either of these to 'redis', you might want to update these settings too # If you set either of these to 'redis', you might want to update these settings too
# If you use Docker or similar, you can set REDIS_HOST_FILE, REDIS_PASSWORD_FILE or # If you use Docker or similar, you can set REDIS_HOST_FILE, REDIS_PASSWORD_FILE or

View File

@@ -3,6 +3,8 @@
# Install composer packages # Install composer packages
composer install --no-suggest --no-scripts --no-ansi composer install --no-suggest --no-scripts --no-ansi
# enable test .env file.
cp .ci/.env.ci ../.env
# Do static code analysis. # Do static code analysis.
./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress ./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress