This commit is contained in:
parent
9e0a1b4d25
commit
7789732d6f
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,7 @@ pipeline:
|
||||||
build_args:
|
build_args:
|
||||||
- ALPINE_VERSION=${ALPINE_VERSION}
|
- ALPINE_VERSION=${ALPINE_VERSION}
|
||||||
- BASE_IMAGE=registry.nulo.in/sutty/monit
|
- BASE_IMAGE=registry.nulo.in/sutty/monit
|
||||||
|
- MMMONIT_VERSION=0.2.1
|
||||||
secrets:
|
secrets:
|
||||||
- docker_password
|
- docker_password
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
ARG ALPINE_VERSION=3.15.0
|
ARG ALPINE_VERSION=3.15.0
|
||||||
ARG BASE_IMAGE=sutty/monit
|
ARG BASE_IMAGE=sutty/monit
|
||||||
|
ARG MMMONIT_VERSION=0.2.1
|
||||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
|
|
||||||
ENV DATABASE_URL "/srv/mmmonit.sqlite3"
|
ENV DATABASE_URL "/srv/mmmonit.sqlite3"
|
||||||
|
|
||||||
RUN apk add --no-cache mmmonit daemonize
|
RUN apk add --no-cache mmmonit~${MMMONIT_VERSION} daemonize
|
||||||
|
|
||||||
COPY ./monit.conf /etc/monit.d/mmmonit.conf
|
COPY ./monit.conf /etc/monit.d/mmmonit.conf
|
||||||
COPY ./mmmonitd.sh /usr/local/bin/mmmonitd
|
COPY ./mmmonitd.sh /usr/local/bin/mmmonitd
|
||||||
|
|
Loading…
Reference in a new issue