summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2026-02-07 12:56:05 +0100
committerJesper Jensen <jesper@jnsn.dev>2026-02-07 12:56:05 +0100
commit0c05d8a70d95b79d2d617c8ebe4e21cdb7361634 (patch)
tree4868673cb351bdbe090d4c0ad4c802d060d8be4b /Dockerfile
parentaec3b154283d0bcd98515253c8491b26b4bc4345 (diff)
Expose metrics by default
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
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" ]