fix supervisor

This commit is contained in:
2023-11-26 19:33:58 +03:30
parent d7882cf02c
commit eae4d616e4
3 changed files with 4 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ RUN groupadd --force -g 1000 octane && useradd -ms /bin/bash --no-log-init --no-
WORKDIR /app
RUN chown -R octane:octane .
EXPOSE 80
COPY ./supervisord.conf /etc/supervisord.conf
COPY ./supervisord.conf /etc/supervisor/octane.conf
COPY ./entrypoint.sh /etc/entrypoint.sh
ENTRYPOINT ["/etc/entrypoint.sh"]
HEALTHCHECK --start-period=5s --interval=2s --timeout=5s --retries=8 CMD php artisan octane:status || exit 1
HEALTHCHECK --start-period=30s --interval=30s --timeout=5s --retries=8 CMD php artisan octane:status || exit 1