Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.14 KB

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