A Docker image for running HLstatsX:CE in a Docker container.
These instructions will help you to get a containerized installation of HLstatsX 1.6.19 running. This includes a web interface, a database with phpmyadmin and a HLstatsX: CE daemon. I recommend to use fixed tags of my Docker images as the latest tag is subject to change.
You need a working installation of Docker and Docker compose to follow the installation instructions.
For a basic setup use my pre-configured docker-compose.yml. Make sure to change all passwords before running this in production.
Run the following command in the same folder as the docker-compose.yml file to get the containers running.
docker-compose up
Now you should have your HLstatsX: CE web interface running at port 80, the Perl daemon at port 27500 and an instance of phpMyAdmin at port 8080. Before you try to use the web interface at port 80 you should get the sql/install.sql file from the official HLstatsX: CE repository and import it into the hlxce table of the database using phpMyAdmin at port 8080 of your server.
Now add the following commands to the server.cfg file of your gameserver.
log on
logaddress_add ip_of_your_host_running_this_image:27500
Install the appropriate HLstatsX: CE repository plugins working for your type of gameserver.
In a future update you might have to update the database yourself.
In case you decide to mount the /var/www/html/ directory as a volume you have to update HLstatsX manually too.
I use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the GPLv3 License - see the LICENSE.md file for details