From 660703ed85934f5ad9c0038b5462e916e669e526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Wed, 10 Jul 2024 18:59:37 +0200 Subject: [PATCH] Update .env --- conf/.env | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/conf/.env b/conf/.env index e97e9b8..5892841 100644 --- a/conf/.env +++ b/conf/.env @@ -84,6 +84,14 @@ USE_CACHE=false # IGNORE_DUPLICATE_ERRORS=false +# +# If you set this to true, the importer will not complain about transactions that can't be found after they've +# been imported. This happens when rule on the Firefly III side deletes the transaction immediately after creating it. +# This can be useful when you have a rule that immediately deletes GoCardless' "pending" transactions. Setting this +# to true reduces some noise. +# +IGNORE_NOT_FOUND_TRANSACTIONS=false + # # Auto import settings. Due to security constraints, you MUST enable each feature individually. # You must also set a secret. The secret is used for the web routes. @@ -116,6 +124,16 @@ CAN_POST_FILES=false # IMPORT_DIR_ALLOWLIST= +# +# If you import from a directory, you can save a fallback configuration file in the directory. +# This file must be called "_fallback.json" and will be used when your CSV or CAMT.053 file is not accompanied +# by a configuration file. +# +# This fallback configuration will only be used if this variable is set to true. +# https://docs.firefly-iii.org/how-to/data-importer/advanced/post/#importing-a-local-directory +# +FALLBACK_IN_DIR=false + # # When you're running Firefly III under a (self-signed) certificate, # the data importer may have trouble verifying the TLS connection. @@ -147,6 +165,11 @@ APP_ENV=local APP_DEBUG=false LOG_CHANNEL=stack +# +# If you turn this on, expect massive logs with lots of privacy sensitive data +# +LOG_RETURN_JSON=false + # Log level. You can set this from least severe to most severe: # 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 @@ -155,18 +178,13 @@ LOG_LEVEL=notice # TRUSTED_PROXIES is a useful variable when using Docker and/or a reverse proxy. # Set it to ** and reverse proxies work just fine. -TRUSTED_PROXIES=* +TRUSTED_PROXIES=** # # Time zone # TZ=Europe/Amsterdam -# -# Use ASSET_URL when you're running the data importer in a sub-directory. -# -ASSET_URL=https://__DOMAIN____PATH__ - # # Email settings. # The data importer can send you a message with all errors, warnings and messages @@ -224,6 +242,16 @@ REDIS_PORT=6379 REDIS_DB="0" REDIS_CACHE_DB="1" +# +# Use ASSET_URL when your data importer webpages are served from a URL with a subfolder path +# This pre-appends the subfolder path in front of URLs for browser-side assets such as CSS Files. +# Example: If your webserver (i.e. NGINX) is configured to serve the data importer webpages from +# http://localhost/ff3di, set ASSET_URL = /ff3di +# and it will pre-append that value to any requests for browser-side assets +# 1) Make sure you REMOVE any trailing slash from the end of the URL. +# +ASSET_URL=__PATH__ + # The only tracker supported is Matomo. # This is used on the public instance over at https://data-importer.firefly-iii.org TRACKER_SITE_ID= @@ -238,4 +266,3 @@ APP_NAME=DataImporter # Laravel uses this to generate links on the command line, which is a feature the data importer does not use. # APP_URL=https://__DOMAIN____PATH__ -