aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-11-08 19:56:00 +0100
committerMax Magorsch <arzano@gentoo.org>2020-11-08 19:56:00 +0100
commita557cfc136aa8a2702a89cb0dedd2d130a0bf21a (patch)
treec7295e9e2e3bcafcc39ea00f96cfb5ab2d6724cf /Dockerfile
parentAdd case "heptapod" item into func RemoteIdLink() (diff)
downloadsoko-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--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 77e83ca..c1dbb2e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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"]