Together with Firefly III
You can run the data importer in a Docker Compose combination with Firefly III. A docker-compose.yml is available on GitHub. Download the raw file and store it in a directory of your choice.
Then, download the environment variable files:
- Download the
.envfile for Firefly III from the Firefly III repository. Save the raw file as
.envnext to the docker compose file.
- Download the
.importer.envfile from the Data Importer repository and save it as
.importer.envnext to the other files.
- The final file contains the database variables and can be downloaded from the Docker repository. Save it as a new file called
If you save all example files and change nothing, it will NOT YET work. You must do a few things:
.envto something else. Pick a nice password.
- Also change
.db.envto the SAME value
http://app:8080. Nothing else!
Change the password FIRST. If you change the password after you started Docker, it will complain about having no access.
Run the following command in the directory where all files are present.
docker-compose -f docker-compose.yml up -d
You can follow the progress of the installation by running this command:
docker-compose -f docker-compose.yml logs -f
When the installation is done, Firefly III will thank you for installing it. Once you see this message, you can visit Firefly III. It will be running at your localhost.
To run the Data Importer using the following
run command. You will start a web server on port 8081 that will allow you to use the data importer.
Append the command with your Personal Access Token and Firefly III URL. The values you need and where to get them are explained on the Configuration page. Note that most people don't use Nordigen and Spectre values at the same time.
All environment variables are optional, but convenient.
docker run \ -e FIREFLY_III_ACCESS_TOKEN=(here) \ -e FIREFLY_III_URL=(here) \ -e NORDIGEN_ID=(here) \ -e NORDIGEN_KEY=(here) \ -e SPECTRE_APP_ID=(here) \ -e SPECTRE_SECRET=(here) \ -p 8081:8080 \ fireflyiii/data-importer:latest
docker run to
docker run -d so the image runs in the background.
You may need to clear your cookies, browse to
/flush or press [Reauthenticate] after changing the environment variables.