mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add mailu and nextcloud
This commit is contained in:
parent
409828214b
commit
643ab3229a
20 changed files with 583 additions and 4 deletions
14
roles/nextcloud-docker/files/nextcloud/Dockerfile.cron
Normal file
14
roles/nextcloud-docker/files/nextcloud/Dockerfile.cron
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM nextcloud:fpm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
supervisor \
|
||||
cron \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /var/log/supervisord /var/run/supervisord && \
|
||||
echo "*/15 * * * * su - www-data -s /bin/bash -c \"php -f /var/www/html/cron.php\""| crontab -
|
||||
|
||||
COPY supervisord.conf /etc/supervisor/supervisord.conf
|
||||
|
||||
CMD ["/usr/bin/supervisord"]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue