Skip to content

Commit

Permalink
change health check interval
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Mar 31, 2024
1 parent 38e436a commit fb56e28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN pyarmor gen --output /app /app/main.py

RUN apk --update --no-cache add curl

HEALTHCHECK --start-period=10s --interval=60s --timeout=3s CMD curl -f http://localhost:80/health || exit 1
HEALTHCHECK --start-period=10s --interval=5s --timeout=3s CMD curl -f http://localhost:80/health || exit 1

CMD ["python", "-u", "/app/main.py"]

Expand Down

0 comments on commit fb56e28

Please sign in to comment.