Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

Setup using docker

Martin Schurig edited this page Mar 17, 2020 · 5 revisions

Preparation

You will need to obtain a personal access token. Here is a tutorial on how to do it.

Setup

  1. Install docker and docker-compose

  2. Create a docker-compose.yml file with this content (in case you cloned this repository this file will already exist and you can skip this step)

  3. 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".

Run the script

docker-compose pull importer && docker-compose run --rm importer

Automate it

# you might need to adjust the path to the project and to the docker-compose executable here
*/15 * * * * cd /home/youruser/.ynab-bank-importer && /usr/local/bin/docker-compose run --rm importer || mail -s "YNAB importer failed" [email protected]
Clone this wiki locally