This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Raspberry PI using Docker
Martin Schurig edited this page Mar 17, 2020
·
6 revisions
You will need to obtain a personal access token. Here is a tutorial on how to do it.
You should not clone this project if you want to set it up using docker.
-
Install docker on the raspberry pi. Here is a tutorial
-
Install docker-compose on the raspberry pi. Check out the last part of this guide.
-
Create a
docker-compose.yml
file with this content -
Create a
config.yml
---
ynab:
access_token: # ynab access token
budget_id: # budget_id
cash_account_id: # optional
accounts:
- dumper: :n26
iban: # iban of your n26
ynab_id: # account id in YNAB
username: # email
password: # password
Example: config.sample.yml
or have a look in the documentation of each dumper.
The values should be written in quotes. For example password: "!mySuperSecret%Password^374"
.
docker-compose run importer
You can setup a cronjob and run this command every 15 minutes. Here is an example:
# you might need to adjust the path to the project and to the docker-compose executable here
*/15 * * * * cd /home/pi/ynab-bank-importer && /usr/local/bin/docker-compose run importer || mail -s "YNAB importer failed" youremail@example.com
Do you think something is missing or incorrect here? Please open an issue for it to be addressed.