containers-mmmonit/Dockerfile

16 lines
401 B
Text
Raw Normal View History

2023-08-24 14:50:53 +00:00
ARG ALPINE_VERSION=3.18.3
ARG BASE_IMAGE=gitea.nulo.in/sutty/monit
2021-10-03 23:19:00 +00:00
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
2024-06-21 15:21:51 +00:00
LABEL org.opencontainers.image.authors="f@sutty.nl"
2022-03-14 21:14:24 +00:00
2022-07-04 01:08:47 +00:00
ARG MMMONIT_VERSION=0.2.1
2022-07-03 05:05:23 +00:00
ENV DATABASE_URL "/srv/mmmonit.sqlite3"
2022-07-04 01:06:18 +00:00
RUN apk add --no-cache mmmonit~${MMMONIT_VERSION} daemonize
2022-03-14 21:14:24 +00:00
COPY ./monit.conf /etc/monit.d/mmmonit.conf
COPY ./mmmonitd.sh /usr/local/bin/mmmonitd
EXPOSE 3000/tcp
VOLUME /srv