diff options
author | Max Magorsch <arzano@gentoo.org> | 2020-11-08 19:56:00 +0100 |
---|---|---|
committer | Max Magorsch <arzano@gentoo.org> | 2020-11-08 19:56:00 +0100 |
commit | a557cfc136aa8a2702a89cb0dedd2d130a0bf21a (patch) | |
tree | c7295e9e2e3bcafcc39ea00f96cfb5ab2d6724cf /Dockerfile | |
parent | Add case "heptapod" item into func RemoteIdLink() (diff) | |
download | soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.tar.gz soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.tar.bz2 soko-a557cfc136aa8a2702a89cb0dedd2d130a0bf21a.zip |
Add a periodical selfcheck
This can be used to check whether any of the information
in the database are outdated. The findings are exported
as prometheus metric.
In former times this check has been done externally. Now
it is directly integrated into soko as lately there have
been some reports about outdated information again.
Please note that this is currently still a WIP and rather
a first approach to get a feeling for the current situation
then a perfect solution.
Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,4 +17,4 @@ COPY --from=assetsbuilder /go/src/soko/assets /go/src/soko/assets COPY --from=builder /go/src/soko/bin /go/src/soko/bin COPY --from=builder /go/src/soko/pkg /go/src/soko/pkg COPY --from=builder /go/src/soko/web /go/src/soko/web -ENTRYPOINT ["/go/src/soko/bin/soko", "--serve"] +ENTRYPOINT ["/go/src/soko/bin/soko", "--enable-selfchecks", "--serve"] |