mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add missing files to Nextcloud config + some tweaks
This commit is contained in:
parent
5226d54eb3
commit
3c4d76c76e
9 changed files with 84 additions and 57 deletions
|
|
@ -1,4 +1,14 @@
|
|||
FROM nextcloud:fpm
|
||||
|
||||
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
|
||||
RUN apt-get update && apt-get install -y \
|
||||
supervisor \
|
||||
cron \
|
||||
vim \
|
||||
&& 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