restart on fail, clear old backups

This commit is contained in:
bel
2020-12-05 11:36:36 -07:00
parent 16b974afd1
commit 9182e656bf
3 changed files with 10 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
cron \
postgresql postgresql-contrib \
&& curl -L \
https://github.com/miniflux/miniflux/releases/download/2.0.21/miniflux_2.0.21_amd64.deb \
https://github.com/miniflux/miniflux/releases/download/2.0.25/miniflux_2.0.25_amd64.deb \
> /miniflux.deb \
&& dpkg -i /miniflux.deb \
&& mkdir -p /mnt/save
@@ -56,5 +56,5 @@ ENTRYPOINT \
&& bash /restore.sh \
&& miniflux -migrate \
&& miniflux -create-admin \
&& miniflux \
&& (while true; do miniflux; sleep 1; done) \
& exec /pauser