Some Cleanup and minor Changes
This commit is contained in:
@@ -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/* && \
|
||||
|
||||
@@ -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
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user