2022-03-14 21:14:24 +00:00
|
|
|
ARG ALPINE_VERSION=3.15.0
|
2021-10-03 23:19:00 +00:00
|
|
|
ARG BASE_IMAGE=sutty/monit
|
2022-07-04 01:06:18 +00:00
|
|
|
ARG MMMONIT_VERSION=0.2.1
|
2021-10-03 23:19:00 +00:00
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
2019-09-10 23:10:18 +00:00
|
|
|
MAINTAINER "f <f@sutty.nl>"
|
2022-03-14 21:14:24 +00:00
|
|
|
|
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
|