Some Cleanup and minor Changes

This commit is contained in:
2025-10-24 02:48:00 +02:00
parent f648952fa9
commit b035c9475d
3 changed files with 9 additions and 11 deletions

View File

@@ -3,6 +3,7 @@ ARG BUILD_DATE
ARG VERSION
LABEL build_version="77th_eventcalendarntfy ${VERSION}, Build-date:- ${BUILD_DATE}"
LABEL maintainer="chiko <chiko@xcsone.de>"
ENV TZ=Europe/Berlin
WORKDIR /opt/app
RUN set -eux && \
echo "Updating APT" && \
@@ -10,12 +11,12 @@ RUN set -eux && \
apt-get upgrade -y -qq && \
echo "Installing tools" && \
apt-get install -y -qq \
curl unzip cron ca-certificates logrotate dos2unix && \
curl unzip cron ca-certificates logrotate dos2unix tzdata && \
echo "Remove exim" && \
apt-get remove -y -qq exim4 exim4-base exim4-daemon-light && \
echo "Cleaning up" && \
apt-get --yes autoremove --purge && \
apt-get clean --yes && \
apt-get --yes autoremove --purge -qq && \
apt-get clean --yes -qq && \
rm --recursive --force --verbose /var/lib/apt/lists/* && \
rm --recursive --force --verbose /tmp/* && \
rm --recursive --force --verbose /var/tmp/* && \

View File

@@ -1,5 +1,6 @@
services:
app:
image: chiko/77th_eventcalendarntfy:dev
build: .
volumes:
- ./data/db:/opt/app/data/db
@@ -12,7 +13,7 @@ services:
links:
- apprise
apprise:
image: caronc/apprise:latest
image: caronc/apprise:1.2.2
hostname: apprise
environment:
- APPRISE_WORKER_COUNT=1
@@ -30,7 +31,3 @@ services:
interval: 5s
timeout: 3s
retries: 5
# networks:
# default:
# external: true
# name: npm

View File

@@ -18,7 +18,7 @@ export async function sendNotification(title: string, body: string, link?: strin
].join(","),
title: title,
body: body,
format: "text"
format: "markdown"
})
});
const responseBody = await response.json();