From 0c05d8a70d95b79d2d617c8ebe4e21cdb7361634 Mon Sep 17 00:00:00 2001 From: Jesper Jensen Date: Sat, 7 Feb 2026 12:56:05 +0100 Subject: Expose metrics by default --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 6dbdc62..9cb5afd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,9 @@ RUN apk add --no-cache libgcc sqlite-libs git openssh \ && mkdir /config COPY --from=build /app/target/release/version-bumper /app/version-bump + VOLUME /workdir VOLUME /data +EXPOSE 9090 -CMD [ "/app/version-bump", "--continuous", "-i", "--config", "/config/", "--scratch", "/workdir", "/data/db.sqlite" ] +CMD [ "/app/version-bump", "--continuous", "--metrics-port", "9090", "-i", "--config", "/config/", "--scratch", "/workdir", "/data/db.sqlite" ] -- cgit v1.2.3