timeboxing and moving on. it's 13:00. this is great progress.

This commit is contained in:
2024-11-29 12:00:01 -06:00
parent 7c4fb8756f
commit 025b85e2c2
7 changed files with 28 additions and 15 deletions

View File

@@ -8,17 +8,16 @@
# Select an existing docker image tag
VERSION=latest
# Path to configured `settings.json`
SETTINGS=/path/to/settings.json
SETTINGS=./settings.json
# Port used internally (use the same one than in `settings.json`)
SERVICE_PORT=3000
# Port to publish
PUBLISHED_PORT=2002
docker run \
-d \
--rm \
--name metrics \
--name reachableceo-metrics \
--entrypoint="" \
-p=127.0.0.1:$PUBLISHED_PORT:$SERVICE_PORT \
--volume=$SETTINGS:/metrics/settings.json \
ghcr.io/lowlighter/metrics:$VERSION npm start
ghcr.io/lowlighter/metrics:$VERSION npm start