🌟 Refactor
- Moved mappings into Sb1 impl - Moved Actual types to @common - Moved createDirIfMissing to respective functions - Refactored main into multiple functions - Moved create db into Sb1impl and close - Log requests on info
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
services:
|
||||
server:
|
||||
container_name: actual_sparebank1_cronjob
|
||||
restart: no
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
@ -16,7 +16,7 @@ services:
|
||||
- BANK_OAUTH_CLIENT_SECRET
|
||||
- BANK_ACCOUNT_IDS
|
||||
- LOG_LEVEL
|
||||
- DB_DIRECTORY # Required for Docker Compose
|
||||
- DB_DIRECTORY
|
||||
- DB_FILENAME
|
||||
- TRANSACTION_RELATIVE_FROM_DATE
|
||||
- TRANSACTION_RELATIVE_TO_DATE
|
||||
@ -24,6 +24,7 @@ services:
|
||||
- cache:/${ACTUAL_DATA_DIR:-.cache}
|
||||
- data:/${DB_DIRECTORY:-data}
|
||||
|
||||
# TODO change volume name from hostexecutor-*
|
||||
volumes:
|
||||
cache:
|
||||
data:
|
||||
|
Reference in New Issue
Block a user