From 035cf1484f55173b6a5d681563ef5e4f367327bb Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sun, 4 Feb 2024 02:36:26 +0000 Subject: [PATCH] Chore: Release 1.11.3 --- README.md | 4 ++-- docker-compose.example.yml | 8 ++++---- src/sql/install.sql | 4 ++-- src/web/updater/88.php | 14 ++++++++++++++ 4 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 src/web/updater/88.php diff --git a/README.md b/README.md index c1a29a8..b81646b 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,14 @@ Counter-Strike 2 is supported (mostly), via [`source-udp-forwarder`](https://git `web` image (See [./src/web/config.php](./src/web/config.php) for supported environment variables): ```sh -docker run --rm -it -e DB_ADDR=db -e DB_NAME=hlstatsxce -e DB_USER=hlstatsxce -e DB_PASS=hlstatsxce -p 80:80 startersclan/hlstatsx-community-edition:1.11.2-web +docker run --rm -it -e DB_ADDR=db -e DB_NAME=hlstatsxce -e DB_USER=hlstatsxce -e DB_PASS=hlstatsxce -p 80:80 startersclan/hlstatsx-community-edition:1.11.3-web ``` `daemon` image: ```sh # Use --help for usage -docker run --rm -it -p 27500:27500/udp startersclan/hlstatsx-community-edition:1.11.2-daemon --db-host=db:3306 --db-name=hlstatsxce --db-username=hlstatsxce --db-password=hlstatsxce #--help +docker run --rm -it -p 27500:27500/udp startersclan/hlstatsx-community-edition:1.11.3-daemon --db-host=db:3306 --db-name=hlstatsxce --db-username=hlstatsxce --db-password=hlstatsxce #--help ``` ### Docker Compose diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 1770a8f..474cb5e 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -65,7 +65,7 @@ services: # 3. HLStatsX:CE perl daemon accepts the gameserver logs. Gameserver Logs are parsed and stats are recorded # The daemon's proxy_key secret can only be setup in the HLStatsX:CE Web Admin Panel Settings under 'Proxy Settings' section daemon: - image: startersclan/hlstatsx-community-edition:1.11.2-daemon + image: startersclan/hlstatsx-community-edition:1.11.3-daemon ports: - 27500:27500/udp # For external servers to send logs to the daemon networks: @@ -87,7 +87,7 @@ services: # Cron - awards awards: - image: startersclan/hlstatsx-community-edition:1.11.2-daemon + image: startersclan/hlstatsx-community-edition:1.11.3-daemon stop_signal: SIGKILL entrypoint: - /bin/sh @@ -134,7 +134,7 @@ services: # Available at http://localhost:8081, or https://web.example.com # Admin Panel username: admin, password: 123456 web: - image: startersclan/hlstatsx-community-edition:1.11.2-web + image: startersclan/hlstatsx-community-edition:1.11.3-web labels: - "traefik.enable=true" - "traefik.docker.network=hlstatsx-community-edition_traefik-network" @@ -168,7 +168,7 @@ services: # Cron - Heatmaps heatmaps: - image: startersclan/hlstatsx-community-edition:1.11.2-web + image: startersclan/hlstatsx-community-edition:1.11.3-web volumes: - games-volume:/web/hlstatsimg/games # Stateful games volume, which also contains heatmaps environment: diff --git a/src/sql/install.sql b/src/sql/install.sql index 432bee4..c11d1e7 100644 --- a/src/sql/install.sql +++ b/src/sql/install.sql @@ -2,8 +2,8 @@ -- This file is only needed for new installations. -SET @DBVERSION="87"; -SET @VERSION="1.11.2"; +SET @DBVERSION="88"; +SET @VERSION="1.11.3"; -- -------------------------------------------------------- diff --git a/src/web/updater/88.php b/src/web/updater/88.php new file mode 100644 index 0000000..cf4e689 --- /dev/null +++ b/src/web/updater/88.php @@ -0,0 +1,14 @@ +"; + $db->query("UPDATE hlstats_Options SET `value` = '$version' WHERE `keyname` = 'version'"); + $db->query("UPDATE hlstats_Options SET `value` = '$dbversion' WHERE `keyname` = 'dbversion'"); +?>