Skip to content

Commit

Permalink
fix: use laravel up health endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
hackeresq committed Jan 30, 2025
1 parent 219018b commit 37da688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ COPY ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
EXPOSE 80

# Set up healthcheck
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -f http://localhost || exit 1
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -f http://localhost/up || exit 1

# Run everything else
ENTRYPOINT ["/bin/bash", "./docker/entrypoint.sh"]
Expand Down

0 comments on commit 37da688

Please sign in to comment.