Refactor env vars to load from file

This commit is contained in:
2025-12-22 20:56:07 +00:00
parent fba323e5e8
commit fd7206630f
2 changed files with 8 additions and 8 deletions

7
compose.env Normal file
View File

@@ -0,0 +1,7 @@
FIREFLY_III_TOKEN=ey...
FIREFLY_III_URL=https://firefly-iii.org
EXCLUDED_TAGS=
SRC_ACCOUNT=1
DST_ACCOUNT=2
AMOUNT=1
DAYS=1

View File

@@ -3,11 +3,4 @@ services:
php-cron:
image: fireflyiii-autosave-cron
build: .
environment:
FIREFLY_III_TOKEN: 'ey...'
FIREFLY_III_URL: 'https://firefly-iii.org'
EXCLUDED_TAGS:
SRC_ACCOUNT: 1
DST_ACCOUNT: 2
AMOUNT: 1
DAYS: 1
env_file: compose.env