Generate Access Key Http Fixer.io

Posted on
Generate Access Key Http Fixer.io Average ratng: 4,1/5 6384 votes

I would like to tell how to setup Firefly III with auto-renewal SSL in docker-compose.

/product-key-for-windows-7-home-premium-32-bit-generator.html. We will use jwilder.

This is NGINX which will be follow all containers and issue Let's encrypt certificates for them.

Generate Access Key Http://fixer.io Key

Fixer.io is a free API that provides current and historical foreign exchange rates published by the European Central Bank (rates are updated every day around 4PM CET). Although the API is very easy to use, if you want to integrate it in your application you need to write a bit of code. Googling around I have found clients for Python and PHP. This brief article takes a look at a tutorial that explains how to display currencies in Python's Pandas Data Frames with the Fixes API.

  1. Prepare server or rent VPS.I use hostens VPS, you can use my referral link, plus google some promotional code and it will be very cheap and good VPS.

I use Ubuntu 18.04.

You also need the domain name with А DNS record pointed to your server.

Access Key Blanks

  1. Install docker and docker-compose

  2. Create folder nginx-proxy and docker-compose.yml inside this folder

docker-compose.yml
  1. Create external network first and than you can start this docker-compose
  1. Return to your home folder and create firefly-iii folder. And docker-compose.yml in it.Please, check officialdocker-compose.yml file
docker-compose.yml

Reference: official documentation about Firefly III in docker and cron.

Please replace:

pass with strong password,

your_domain with your domain and

token with your token (see the link to cron docs above).

  1. Create .env file and edit it accordingly to your setup.Please, check official.env file
.env

Please note, that these environment variables

required for jwilder.

firefly-iii and jwilder will work in the same network.

And in order to proxy firefly-iii jwilder need to see these three envs.

Other envs required for Firefly III itself.

Change pass to pass from firefly-iii docker-compose.yml

Change your_domain to your domain.

Change Europe/Amsterdam to your time zone.

Change some32chars to some random 32 chars, don't ask, just do it.

Reference: official.env example

  1. You can now start your Firefly III instance

Just after this command jwilder will proxy Firefly III instance with your domain and auto issue SSL for you.It also will check expiration date for SSL cert and auto-renew it when necessary.

BONUS

  1. Update to the latest version of Firefly III in one command!

This command will connect your VPS via SSH, update your Firefly III and delete unused docker images.

ssh YOU_SERVER_USER@YOUR_SERVER_IP 'cd firefly-iii && docker-compose stop firefly_iii_app && docker-compose rm && docker-compose pull firefly_iii_app && docker-compose up -d && docker images grep '<none>' awk '{print $3}' xargs docker rmi'