From c9b18459d6c367ba45a48ad6fafbbd2b645fd98f Mon Sep 17 00:00:00 2001 From: Tony Messias Date: Fri, 16 Jun 2023 18:33:53 -0300 Subject: [PATCH] Fix using the wrong env var to enable metrics endpoint --- app/Services/Soketi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Soketi.php b/app/Services/Soketi.php index 8880b3e8..342c2c88 100644 --- a/app/Services/Soketi.php +++ b/app/Services/Soketi.php @@ -26,7 +26,7 @@ class Soketi extends BaseService protected $dockerRunTemplate = '-p "${:port}":6001 \ -p "${:metrics_port}":9601 \ - -e METRICS_ENABLED=1 \ + -e SOKETI_METRICS_ENABLED=1 \ "${:organization}"/"${:image_name}":"${:tag}"'; public function __construct(Shell $shell, Environment $environment, Docker $docker)