Skip to content

Commit

Permalink
Added process-based healthcheck from #275
Browse files Browse the repository at this point in the history
  • Loading branch information
jammsen committed Sep 20, 2024
1 parent c1704b3 commit cfeb6d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

[Back to main](README.md#changelog)
## 2024-09-20

- added process-based Healthcheck @jammsen (#275)

## 2024-08-12

- added support to turn off backup-announcements, to have less spammy chat ingame, but errors will always be announced @Jadiction @jammsen (#272)
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,8 @@ RUN mkdir -p "$BACKUP_PATH" \

VOLUME ["${GAME_ROOT}"]

HEALTHCHECK --interval=10s --timeout=10s --start-period=30s --retries=3 \
CMD pgrep -x "PalServer-Linux" >/dev/null 2>&1 || exit 1

ENTRYPOINT ["/entrypoint.sh"]
CMD ["/scripts/servermanager.sh"]

0 comments on commit cfeb6d3

Please sign in to comment.