Log verbessert
This commit is contained in:
@@ -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!"
|
||||||
|
|||||||
@@ -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" },
|
||||||
|
|||||||
Reference in New Issue
Block a user