deadman 0.1.0

A deadman switch implemantation that will notify on Telegram if the user has not interacted with it in a specific interval
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM rust:bookworm

COPY . /data
WORKDIR /data
ENV DATABASE_URL="sqlite://deadman.sqlite"
RUN cargo build --release 

FROM debian:bookworm 
LABEL version="1.0"

COPY --from=0 /data/target/release/deadman /workdir/deadman
RUN apt-get -y update && apt-get install -y openssl ca-certificates

HEALTHCHECK CMD curl 127.0.0.1:3000
WORKDIR /workdir
CMD /workdir/deadman