supercluster-covid-data-portal / etl

GNU Affero General Public License v3.0
0 stars 1 forks source link

Refactor to run as server with cronjob #7

Closed joneubank closed 2 years ago

joneubank commented 2 years ago

Introduced Express to run as server so that this can live in Kubernetes as a long running server, express providing a /health endpoint for the liveness probe.

Since we now have express, I added two more routers:

The application still runs as a command line app now accepting two new flags:

The Dockerfile has been updated to run the application with both cron and server flags.