mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-19 03:45:43 +00:00
feat(Docker): Container healthchecks (#2951)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
FROM ubuntu:bionic
|
||||
|
||||
# install the required dependencies to run the authserver
|
||||
RUN apt update && apt install -y libmysqlclient-dev libssl-dev libace-6.* libace-dev;
|
||||
RUN apt update && apt install -y libmysqlclient-dev libssl-dev libace-6.* libace-dev net-tools;
|
||||
|
||||
HEALTHCHECK --interval=5s --timeout=15s --start-period=30s --retries=3 CMD netstat -lnpt | grep :3724 || exit 1
|
||||
|
||||
# run the authserver located in the directory "docker/authserver/bin" of the host machine
|
||||
CMD ["/azeroth-server/bin/authserver"]
|
||||
|
||||
Reference in New Issue
Block a user