Skip to content

Commit

Permalink
fix: improve healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Jomik committed Feb 16, 2024
1 parent e95e045 commit 305373f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ENV SERVER_DIR=/screeps DATA_DIR=/data NODE_ENV=production PATH="/screeps/bin:${
VOLUME [ "/data" ]
EXPOSE 21025

HEALTHCHECK --start-period=5m --interval=5m --timeout=3s \
HEALTHCHECK --start-period=10s --interval=30s --timeout=3s \
CMD wget --no-verbose --tries=1 --spider http://localhost:21025/api/version || exit 1

ENTRYPOINT ["start"]

0 comments on commit 305373f

Please sign in to comment.