Updater for coronaviruslive.it
This Docker container updates coronaviruslive.it by checking data sources every 5 minutes.
Data | Source |
---|---|
🦠 Covid-19 | https://github.com/pcm-dpc/COVID-19 |
💉 Vaccines | https://github.com/italia/covid19-opendata-vaccini |
Clone the repository and run the following commands:
cd container
docker build -t coronavirus-updater .
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