Files
firefly-importer/.env.example

35 lines
1.3 KiB
Plaintext

# Copy to .env and fill in your values
# URL of your Firefly Data Importer (FIDI) instance
FIDI_URL=http://localhost:8080
# FIDI auto-import secret (set in FIDI config under AUTO_IMPORT_SECRET)
# Leave blank if not configured
FIDI_SECRET=
# Firefly III Personal Access Token (optional — needed if FIDI requires auth)
FIDI_ACCESS_TOKEN=
# Directory containing .json/.csv import pairs (default: ./imports)
# JSON configs live here permanently; processed CSVs are staged here by watch-imports.sh
IMPORT_DIR=./imports
# Path to the imports directory as seen by FIDI *inside its container* (default: /imports)
# Must match the volume mount target in docker-compose.yml and be listed in
# IMPORT_DIR_WHITELIST in your .fidi.env
FIDI_IMPORT_DIR=/imports
# Directory where raw CSV files are dropped (default: ./incoming)
# watch-imports.sh monitors this and moves files to IMPORT_DIR after processing
INCOMING_DIR=./incoming
# Set to "true" to automatically run import.sh after watch-imports.sh stages a file
AUTO_IMPORT=false
# Polling interval in seconds — how often watch-imports.sh scans INCOMING_DIR (default: 10)
POLL_INTERVAL=10
# Seconds a file must be unmodified before it is processed (default: 3)
# Increase this if files are large or your network is slow
FILE_STABLE_AGE=3