Fix supervisor
All checks were successful
Push image to registry / build-image (push) Successful in 6m46s

This commit is contained in:
2025-02-20 20:00:25 +01:00
parent 51eafce03a
commit 7a03225a21
4 changed files with 16 additions and 6 deletions

View File

@ -53,7 +53,8 @@ RUN apk update && apk add --no-cache \
nginx \
openssl \
linux-headers \
supervisor
supervisor \
&& rm -rf /tmp/* /var/cache/apk/*
RUN docker-php-ext-configure zip && docker-php-ext-install zip
RUN docker-php-ext-install gd pdo pdo_mysql zip
@ -78,7 +79,8 @@ RUN composer install --no-interaction --prefer-dist
# Supervisor
COPY ./docker/datbrowserQueueWorker.conf /etc/supervisor/conf.d/datbrowserQueueWorker.conf
RUN sudo supervisorctl reread && sudo supervisorctl reread && sudo supervisorctl update
COPY ./docker/supervisord.conf /etc/supervisord.conf
# RUN supervisorctl reread && supervisorctl update
# CRON
RUN echo "* * * * * cd ${wd} && php artisan schedule:run >> /dev/null 2>&1" > /etc/crontabs/root