File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed
Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ RUN mkdir /etc/atatus && \
5151 pgsql && \
5252 addgroup -g ${GID} -S ${USER} && \
5353 adduser -u ${UID} -S -G ${USER} -h /home/nhsla -s /bin/bash nhsla && \
54- apk add ssmtp --no-cache && \
54+ apk add bash ssmtp --no-cache && \
5555 ln -s /nhsla/rw/atatus.ini /usr/local/etc/php/conf.d/a-atatus.ini && \
5656 ln -s /nhsla/rw/phpsess.ini /usr/local/etc/php/conf.d/b-phpsess.ini && \
5757 ln -s /nhsla/rw/ssmtp.conf /etc/ssmtp.conf && \
5858 chown -R ${USER}:${USER} /etc/atatus /nhsla && \
59+ chmod +x /entrypoint.sh && \
5960 date > /image_base_build_date
6061
6162USER ${UID}
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ RUN mkdir /etc/atatus && \
5656 ln -s /nhsla/rw/phpsess.ini /usr/local/etc/php/conf.d/b-phpsess.ini && \
5757 ln -s /nhsla/rw/ssmtp.conf /etc/ssmtp.conf && \
5858 chown -R ${USER}:${USER} /etc/atatus /nhsla && \
59+ chmod +x /entrypoint.sh && \
5960 date > /image_base_build_date
6061
6162USER ${UID}
Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ RUN mkdir /etc/atatus && \
5151 pgsql && \
5252 addgroup -g ${GID} -S ${USER} && \
5353 adduser -u ${UID} -S -G ${USER} -h /home/nhsla -s /bin/bash nhsla && \
54- apk add ssmtp --no-cache && \
54+ apk add bash ssmtp --no-cache && \
5555 ln -s /nhsla/rw/atatus.ini /usr/local/etc/php/conf.d/a-atatus.ini && \
5656 ln -s /nhsla/rw/phpsess.ini /usr/local/etc/php/conf.d/b-phpsess.ini && \
5757 ln -s /nhsla/rw/ssmtp.conf /etc/ssmtp.conf && \
5858 chown -R ${USER}:${USER} /etc/atatus /nhsla && \
59+ chmod +x /entrypoint.sh && \
5960 date > /image_base_build_date
6061
6162USER ${UID}
Original file line number Diff line number Diff line change 33
44# Startup logging
55echo " === Container Startup ==="
6- echo " App name: ${ATATUS_APP_NAME: app} "
7- echo " App version: ${APP_VERSION: none} "
6+ echo " App name: ${ATATUS_APP_NAME:- app} "
7+ echo " App version: ${APP_VERSION:- none} "
88echo " Container mode: ${CONTAINER_MODE:- web} "
99echo " Environment: ${APP_ENV:- production} "
1010echo " Atatus: ${ATATUS_ENABLED:- false} "
@@ -77,7 +77,7 @@ case "${CONTAINER_MODE:-web}" in
7777 ;;
7878 " worker" )
7979 echo " Starting worker container..."
80- exec php /app/artisan queue:work --sleep=3 --tries=3
80+ exec php /app/artisan queue:work --sleep=3 --tries=3 --timeout=1800 --queue= " ${QUEUE_NAMES :- default} "
8181 ;;
8282 " web" |* )
8383 echo " Starting web server..."
You can’t perform that action at this time.
0 commit comments