dev v0.1.1 #3

Merged
chiko merged 4 commits from dev into main 2025-10-24 23:45:47 +00:00
3 changed files with 9 additions and 11 deletions
Showing only changes of commit b035c9475d - Show all commits

View File

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

View File

@@ -1,5 +1,6 @@
services: services:
app: app:
image: chiko/77th_eventcalendarntfy:dev
build: . build: .
volumes: volumes:
- ./data/db:/opt/app/data/db - ./data/db:/opt/app/data/db
@@ -12,7 +13,7 @@ services:
links: links:
- apprise - apprise
apprise: apprise:
image: caronc/apprise:latest image: caronc/apprise:1.2.2
hostname: apprise hostname: apprise
environment: environment:
- APPRISE_WORKER_COUNT=1 - APPRISE_WORKER_COUNT=1
@@ -30,7 +31,3 @@ services:
interval: 5s interval: 5s
timeout: 3s timeout: 3s
retries: 5 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(","), ].join(","),
title: title, title: title,
body: body, body: body,
format: "text" format: "markdown"
}) })
}); });
const responseBody = await response.json(); const responseBody = await response.json();