sourcegraph / checkup

Distributed, lock-free, self-hosted health checks and status pages
https://sourcegraph.github.io/checkup
MIT License
3.42k stars 248 forks source link

Adds Optional SQLite Docker #141

Open therealkevinard opened 4 years ago

therealkevinard commented 4 years ago

This PR allows opt-in SQLite support with different build/run commands.

usage:

The d/c stack includes a separate worker, allowing its own entrypoint directive. eg: checkup every 10s, independent of the frontend.
A sqlite config.js is bind-mounted from ./statuspage/js/config_sqlite3.js

The built docker image is larger: 155MB vs the fs-only image's 33.4 MB.

This is to address #140

titpetric commented 4 years ago

Hey, thanks for the contribution. Could you please just squash the commits so I have a better overview of the proposed change(s) over the multiple commits.

therealkevinard commented 4 years ago

Of course! :+1: