2023-09-28 14:30:48 +00:00
|
|
|
ARG ALPINE_VERSION=3.18.3
|
2023-08-24 14:50:53 +00:00
|
|
|
ARG BASE_IMAGE=gitea.nulo.in/sutty/monit
|
2021-10-03 23:19:00 +00:00
|
|
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
2023-09-28 14:30:48 +00:00
|
|
|
MAINTAINER "nulo <nulo@sutty.nl>"
|
2023-12-12 13:47:20 +00:00
|
|
|
ENV POCKETBASE_SECRET 11111111111111111111111111111111
|
2023-09-28 14:30:48 +00:00
|
|
|
|
2023-12-12 13:25:33 +00:00
|
|
|
RUN apk add --no-cache pocketbase daemonize
|
|
|
|
COPY ./pocketbased.sh /usr/local/bin/pocketbased
|
|
|
|
COPY ./monit.conf /etc/monit.d/pocketbase.conf
|
2023-09-28 14:30:48 +00:00
|
|
|
|
2023-12-12 13:25:33 +00:00
|
|
|
VOLUME /srv/pocketbase
|
|
|
|
|
2023-12-12 13:26:19 +00:00
|
|
|
EXPOSE 8090
|