Skip to content

A docker image for running HLstatsX:CE in a Docker container.

License

Notifications You must be signed in to change notification settings

CerberusGaming/hlxce-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HLstatsX:CE

A Docker image for running HLstatsX:CE in a Docker container.

Getting Started

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.

Prerequisites

You need a working installation of Docker and Docker compose to follow the installation instructions.

Install Docker

Install Docker Compose

Installing

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.

Limitations

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.

Versioning

I use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the GPLv3 License - see the LICENSE.md file for details

About

A docker image for running HLstatsX:CE in a Docker container.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 51.9%
  • Shell 48.1%