coming together nicely

This commit is contained in:
2024-11-26 10:26:21 -06:00
parent deff426916
commit a48de1b0d4
4 changed files with 0 additions and 258 deletions

View File

@@ -1,24 +0,0 @@
#!/bin/bash
#i hope i can make this work
# it runs and it works in offstage but not here...
#hmm this worked in the other account..
# Select an existing docker image tag
VERSION=latest
# Path to configured `settings.json`
SETTINGS=/path/to/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 \
--entrypoint="" \
-p=127.0.0.1:$PUBLISHED_PORT:$SERVICE_PORT \
--volume=$SETTINGS:/metrics/settings.json \
ghcr.io/lowlighter/metrics:$VERSION npm start