File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM nextcloud:18-fpm
22
33RUN { echo 'listen = /sock/docker.sock' ; } >> /usr/local/etc/php-fpm.d/zz-docker.conf
4+
5+ RUN apt-get update && apt-get install -y \
6+ supervisor \
7+ && rm -rf /var/lib/apt/lists/* \
8+ && mkdir /var/log/supervisord /var/run/supervisord
9+
10+ COPY supervisord.conf /
11+
12+ ENV NEXTCLOUD_UPDATE=1
13+
14+ CMD ["/usr/bin/supervisord" , "-c" , "/supervisord.conf" ]
Original file line number Diff line number Diff line change 1+ [supervisord]
2+ nodaemon=true
3+ logfile=/var/log/supervisord/supervisord.log
4+ pidfile=/var/run/supervisord/supervisord.pid
5+ childlogdir=/var/log/supervisord/
6+ logfile_maxbytes=50MB ; maximum size of logfile before rotation
7+ logfile_backups=10 ; number of backed up logfiles
8+ loglevel=error
9+
10+ [program:php-fpm]
11+ stdout_logfile=/dev/stdout
12+ stdout_logfile_maxbytes=0
13+ stderr_logfile=/dev/stderr
14+ stderr_logfile_maxbytes=0
15+ command=php-fpm
16+
17+ [program:cron]
18+ stdout_logfile=/dev/stdout
19+ stdout_logfile_maxbytes=0
20+ stderr_logfile=/dev/stderr
21+ stderr_logfile_maxbytes=0
22+ command=/cron.sh
You can’t perform that action at this time.
0 commit comments