A ready to use PostgreSQL database that contains COVID-19 data from Johns Hopkins CSSE.
docker run -e POSTGRES_HOST_AUTH_METHOD=trust -p5432:5432 nunorafaelrocha/covid19-postgres:latest
This docker images is based on Postgres Official docker image. See Postgres documentation to check all options.
Contains daily case reports.
- daily_reports_19_covid
Contains daily time series summary tables, including confirmed, deaths and recovered. All data are from the daily case report.
- time_series_19_covid_confirmed
- time_series_19_covid_deaths
- time_series_19_covid_recovered
To fetch the latest data, run the following command:
docker exec -it <CONTAINER_ID> ./setup.sh
Example with docker ps
and awk
docker exec -it $(docker ps | grep "covid19-postgres" | awk '{ print $1 }') ./setup.sh
Note: The data is updated once a day around 23:59 UTC.