-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
148 lines (111 loc) · 5.4 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
APP_NAME=smartMoney
APP_ENV=local
APP_KEY=base64:KnPIDKQXhpNB9xxYJLZArV9mfSTuplAiCUrtOaO0GzU=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=http://localhost
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
APP_MAINTENANCE_DRIVER=file
APP_MAINTENANCE_STORE=database
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=sail
DB_PASSWORD=password
SESSION_DRIVER=database
SESSION_LIFETIME=10512000
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null
BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
CACHE_STORE=database
CACHE_PREFIX=
MEMCACHED_HOST=127.0.0.1
REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com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Sa-IFBVOTy0DT6l9clz4tJk8hay-dyg-YC0jhXl-5VbB__IizkPNS_tA2gIaPrbBwddfZsVq9dmPzqe2ilj0Bff1ubAcFaUYDUsNbnS9XoNej_tIm7BfIOVwkgWNwWZfxuZ7zk
# ParseSMS
PARSE_SMS_ENABLED=true
PARSE_SMS_SENDERS='{"saib":"parseSAIB","stcpay":"parseSTCPay","alinmabank":"parseAlinmaBank","sab":"parseSAB","snb-alahli":"parseSNBAlAhli"}'
PARSE_SMS_STORE_INVALID_SMS=true
PARSE_SMS_STORE_VALID_SMS=true
PARSE_SMS_MIN_SMS_LENGTH=30
PARSE_SMS_AUTO_DETECT_NON_TRANSACTION_SMS=true
PARSE_SMS_FAILBACK_OPENAI=true
PARSE_SMS_DETECT_CATEGORY_OPENAI=true
PARSE_SMS_CLEAN_PROCCESSED_SMS=true
PARSE_SMS_CLEAN_INVALID_SMS=true
PARSE_SMS_CLEAN_ERROR_SMS=false
# OpenAI
OPENAI_ENABLED=true
OPENAI_URL='https://AAAA.openai.azure.com/openai/deployments/VVVVV/chat/completions?api-version=2024-02-01'
OPENAI_TOKEN='3333333333'
# Web Push
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
# Average Amount Calculation & Alert
CAL_AVERAGE_TRANSACTIONS_WITHDRAWAL_ENABLED=true
CAL_AVERAGE_TRANSACTIONS_DEPOSIT_ENABLED=true
# How many months to look back (to calculate the average)
CAL_AVERAGE_TRANSACTIONS_MONTHS=6
# Calculate overall average of all transactions, only if total transactions are more than 50 transactions
CAL_AVERAGE_TRANSACTIONS_ALL_MIN=50
# Calculate overall average of a destination, only if total transactions of the destination are more than 50 transactions
CAL_AVERAGE_TRANSACTIONS_DESTINATION_MIN=50
# Calculate overall average of a source, only if total transactions of the source are more than 50 transactions
CAL_AVERAGE_TRANSACTIONS_SOURCE_MIN=50
# Calculate overall average of a category, only if total transactions of the category are more than 50 transactions
CAL_AVERAGE_TRANSACTIONS_CATEGORY_MIN=50
# Bill Detector
BILL_DETECTOR_ENABLED=true
BILL_DETECTOR_GO_BACK_DAYS=800
BILL_DETECTOR_MIN_AMOUNT=10
BILL_DETECTOR_TRANSACTIONS_RECURRING_TYPES=daily,weekly,monthly,quarterly,half-year,yearly
## Alert abnormal transactions
ALERT_ABNORMAL_TRANSACTIONS_WITHDRAWAL_ENABLED=true
ALERT_ABNORMAL_TRANSACTIONS_DEPOSIT_ENABLED=true
# Set the threshold percentage or amount that defines what constitutes an abnormal transaction. For example, transactions exceeding the average by 10%.
ALERT_ABNORMAL_TRANSACTIONS_WITHDRAWAL_ALL_PERCENTAGE=10
ALERT_ABNORMAL_TRANSACTIONS_WITHDRAWAL_SOURCE_PERCENTAGE=10
ALERT_ABNORMAL_TRANSACTIONS_WITHDRAWAL_DESTINATION_PERCENTAGE=10
ALERT_ABNORMAL_TRANSACTIONS_WITHDRAWAL_CATEGORY_PERCENTAGE=10
# Define the order of detection and remove any type you are not interested to check.
ALERT_ABNORMAL_TRANSACTIONS_WITHDRAWAL_ORDER=all,source,destination,category
# Set the threshold percentage or amount that defines what constitutes an abnormal transaction. For example, transactions exceeding the average by 10%.
ALERT_ABNORMAL_TRANSACTIONS_DEPOSIT_ALL_PERCENTAGE=10
ALERT_ABNORMAL_TRANSACTIONS_DEPOSIT_SOURCE_PERCENTAGE=10
ALERT_ABNORMAL_TRANSACTIONS_DEPOSIT_DESTINATION_PERCENTAGE=10
ALERT_ABNORMAL_TRANSACTIONS_DEPOSIT_CATEGORY_PERCENTAGE=10
# Define the order of detection and remove any type you are not interested to check.
ALERT_ABNORMAL_TRANSACTIONS_DEPOSIT_ORDER=all,source,destination,category
# Alert Bill Over Amount Percentage, if the bill amount is more than 10% of the bill max amount, alert the user
# use this percentage across all the bills or use the percentage for each bill by adding alertBillOverAmountPercentage:"10" in the bill notes (in FireflyIII) for custom percentage for each bill
ALERT_BILL_OVER_AMOUNT_PERCENTAGE=10