Build our nextcloud image via woodpecker
Some checks failed
ci/woodpecker/push/nextcloud/1 Pipeline failed
ci/woodpecker/push/nextcloud/2 Pipeline failed
ci/woodpecker/push/keycloak Pipeline was successful

This commit is contained in:
chris 2024-07-27 23:09:59 +02:00
commit 8dfecd068d
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
3 changed files with 95 additions and 0 deletions

13
nextcloud/Containerfile Normal file
View file

@ -0,0 +1,13 @@
ARG TAG=latest
FROM docker.io/library/nextcloud:${TAG}
RUN apt-get update && apt-get install -y \
supervisor \
&& rm -rf /var/lib/apt/lists/* \
&& mkdir /var/log/supervisord /var/run/supervisord
ADD supervisord.conf /supervisord.conf
ENV NEXTCLOUD_UPDATE=1
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]

View file

@ -0,0 +1,22 @@
[supervisord]
nodaemon=true
logfile=/var/log/supervisord/supervisord.log
pidfile=/var/run/supervisord/supervisord.pid
childlogdir=/var/log/supervisord/
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error
[program:apache2]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=apache2-foreground
[program:cron]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/cron.sh