Log verbessert

This commit is contained in:
2026-04-23 17:03:58 +02:00
parent c630ef50a7
commit 6ae153ce10
2 changed files with 4 additions and 3 deletions

View File

@@ -47,9 +47,9 @@ docker buildx build \
. .
# 4. Tagge auch als :latest # 4. Tagge auch als :latest
echo ">>> Tagge ${image} als :latest..." echo ">>> Tagge ${IMAGE_NAME} als :latest..."
docker buildx imagetools create \ docker buildx imagetools create \
-t "${REGISTRY}/${image}:latest" \ -t "${REGISTRY}/${IMAGE_NAME}:latest" \
"${FULL_IMAGE}" "${FULL_IMAGE}"
echo ">>> Build und Push erfolgreich!" echo ">>> Build und Push erfolgreich!"

View File

@@ -111,7 +111,7 @@ async function runLoop(db) {
async function connect() { async function connect() {
station = await connectStation(); station = await connectStation();
log("Verbunden mit Wetterstation."); log("Verbunden mit Davis-Console.");
} }
async function tick() { async function tick() {
@@ -120,6 +120,7 @@ async function runLoop(db) {
buffer.push(data); buffer.push(data);
if (POST_URL) { if (POST_URL) {
console.log(`Poste zu ${POST_URL}`)
fetch(POST_URL, { fetch(POST_URL, {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },