This PR adds support for orchestrating a Prometheus exporter alongside the Palworld Dedicated Server. The exporter is developed by palworld.lol, and the tag on Docker Hub is bostrt/palworld-exporter.
Enable it by setting palworld_dedicated_server_exporter_enable to true, and configure the bind IP address and port with palworld_dedicated_server_exporter_bind_address (defaults to 0.0.0.0) and palworld_dedicated_server_exporter_bind_port (defaults to 9877).
There are a number of related changes that were necessary for this PR, unfortunately many of them are breaking. In the future the necessity of breaking changes like this should decrease.
Breaking changes:
The palworld_dedicated_server_public_port inventory variable has been renamed to palworld_dedicated_server_bind_port.
The palworld_dedicated_server_rcon_port inventory variable has been renamed to palworld_dedicated_server_rcon_bind_port.
The Palworld server admin password is now set in the palworld_dedicated_server_admin_password inventory variable. It can no longer be defined by setting ADMIN_PASSWORD in palworld_dedicated_server_settings (this value will now be ignored).
Other changes:
The Palworld Dedicated Server's bind address for external access is now configurable using palworld_dedicated_server_exporter_bind_address, which defaults to 0.0.0.0.
Palworld will now be configured to always have RCON enabled internally. This for both local RCON CLI command access and enabling the Prometheus exporter.
When palworld_dedicated_server_rcon_enable is set to false, external access to this endpoint is disabled, as it did previously.
Fix syntax errors in the compose file when RCON access is enabled.
This PR adds support for orchestrating a Prometheus exporter alongside the Palworld Dedicated Server. The exporter is developed by palworld.lol, and the tag on Docker Hub is
bostrt/palworld-exporter
.Enable it by setting
palworld_dedicated_server_exporter_enable
totrue
, and configure the bind IP address and port withpalworld_dedicated_server_exporter_bind_address
(defaults to0.0.0.0
) andpalworld_dedicated_server_exporter_bind_port
(defaults to9877
).There are a number of related changes that were necessary for this PR, unfortunately many of them are breaking. In the future the necessity of breaking changes like this should decrease.
Breaking changes:
palworld_dedicated_server_public_port
inventory variable has been renamed topalworld_dedicated_server_bind_port
.palworld_dedicated_server_rcon_port
inventory variable has been renamed topalworld_dedicated_server_rcon_bind_port
.palworld_dedicated_server_admin_password
inventory variable. It can no longer be defined by settingADMIN_PASSWORD
inpalworld_dedicated_server_settings
(this value will now be ignored).Other changes:
palworld_dedicated_server_exporter_bind_address
, which defaults to0.0.0.0
.palworld_dedicated_server_rcon_enable
is set tofalse
, external access to this endpoint is disabled, as it did previously.