Skip to content

Commit

Permalink
Merge pull request #354 from EscolaLMS/develop
Browse files Browse the repository at this point in the history
fixing disable_queue env var
  • Loading branch information
qunabu authored Oct 11, 2024
2 parents 1ed3a91 + 9694665 commit ff4ac8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN \
# general supervisord settings
cp docker/conf/supervisor/supervisord.conf /etc/supervisor/supervisord.conf \
# supervisord services
&& cp -r docker/conf/supervisor/services/* /etc/supervisor/custom.d \
# && cp -r docker/conf/supervisor/services/* /etc/supervisor/custom.d \
# devilbox php.ini./ TODO this should be rather send to different custom file
&& cp docker/conf/php/xxx-devilbox-default-php.ini /usr/local/etc/php/conf.d/xxx-devilbox-default-php.ini \
# overwrite some php-fpm settings
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.develop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY / /var/www/html
RUN pecl install excimer
RUN cp docker/conf/supervisor/supervisord.conf /etc/supervisor/supervisord.conf \
# supervisord services
&& cp -r docker/conf/supervisor/services/* /etc/supervisor/custom.d \
# && cp -r docker/conf/supervisor/services/* /etc/supervisor/custom.d \
# devilbox php.ini./ TODO this should be rather send to different custom file
&& cp docker/conf/php/xxx-devilbox-default-php.ini /usr/local/etc/php/conf.d/xxx-devilbox-default-php.ini \
# overwrite some php-fpm settings
Expand Down
2 changes: 2 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ then
rm -f /etc/supervisor/custom.d/horizon.conf
echo horizon.conf disabled
else
cp docker/conf/supervisor/services/horizon.conf /etc/supervisor/custom.d/horizon.conf
echo horizon.conf enabled
fi

Expand All @@ -32,6 +33,7 @@ then
rm -f /etc/supervisor/custom.d/scheduler.conf
echo scheduler.conf disabled
else
cp docker/conf/supervisor/services/scheduler.conf /etc/supervisor/custom.d/scheduler.conf
echo scheduler.conf enabled
fi

Expand Down
2 changes: 1 addition & 1 deletion init_multidomains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

if [ "$DISABLE_QUEUE" == 'true' ]
then
rm -f /etc/supervisor/conf.d/multidomain_queue.conf
rm -f /etc/supervisor/custom.d/multidomain_queue.conf
echo multidomain_queue.conf disabled
else
cp docker/conf/supervisor/services/multidomain_queue.conf /etc/supervisor/custom.d/multidomain_queue.conf
Expand Down

0 comments on commit ff4ac8a

Please sign in to comment.