Log verbessert
This commit is contained in:
@@ -47,9 +47,9 @@ docker buildx build \
|
||||
.
|
||||
|
||||
# 4. Tagge auch als :latest
|
||||
echo ">>> Tagge ${image} als :latest..."
|
||||
echo ">>> Tagge ${IMAGE_NAME} als :latest..."
|
||||
docker buildx imagetools create \
|
||||
-t "${REGISTRY}/${image}:latest" \
|
||||
-t "${REGISTRY}/${IMAGE_NAME}:latest" \
|
||||
"${FULL_IMAGE}"
|
||||
|
||||
echo ">>> Build und Push erfolgreich!"
|
||||
|
||||
@@ -111,7 +111,7 @@ async function runLoop(db) {
|
||||
|
||||
async function connect() {
|
||||
station = await connectStation();
|
||||
log("Verbunden mit Wetterstation.");
|
||||
log("Verbunden mit Davis-Console.");
|
||||
}
|
||||
|
||||
async function tick() {
|
||||
@@ -120,6 +120,7 @@ async function runLoop(db) {
|
||||
buffer.push(data);
|
||||
|
||||
if (POST_URL) {
|
||||
console.log(`Poste zu ${POST_URL}`)
|
||||
fetch(POST_URL, {
|
||||
method: "POST",
|
||||
headers: { "Content-Type": "application/json" },
|
||||
|
||||
Reference in New Issue
Block a user