Skip to content

A Docker container that updates coronaviruslive.it by checking data sources every 5 minutes.

Notifications You must be signed in to change notification settings

Sasso0101/coronavirus-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Updater for coronaviruslive.it

Docker

This Docker container updates coronaviruslive.it by checking data sources every 5 minutes.

Data sources

Data Source
🦠 Covid-19 https://github.com/pcm-dpc/COVID-19
💉 Vaccines https://github.com/italia/covid19-opendata-vaccini

Build

Clone the repository and run the following commands:

cd container
docker build -t coronavirus-updater .

Deploy

Create a file named .env in the project's directory with the following content:

FTPHOST = "FTP server url"
FTPUSER = "FTP username"
FTPPASSWORD = "FTP password"
PUSHAUTH = "Onesignal (Can be found here: https://app.onesignal.com/profile)"
PUSHID = "Onesignal API key (Project > Settings > Keys & IDs)"
TELEGRAMID = "Telegram bot key"
FACEBOOKTOKEN = "Facebook account token"
FACEBOOKID = "Facebook page ID"

Run the following commands:

docker-compose up -d