diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml
index 31c5838a1..37937cfa1 100644
--- a/app/views/install/compose.phtml
+++ b/app/views/install/compose.phtml
@@ -494,37 +494,6 @@ services:
- _APP_LOGGING_PROVIDER
- _APP_LOGGING_CONFIG
- appwrite-usage-database:
- image: /:
- entrypoint:
- - usage
- - --type=database
- container_name: appwrite-usage-database
- <<: *x-logging
- restart: unless-stopped
- networks:
- - appwrite
- depends_on:
- - influxdb
- - mariadb
- environment:
- - _APP_ENV
- - _APP_OPENSSL_KEY_V1
- - _APP_DB_HOST
- - _APP_DB_PORT
- - _APP_DB_SCHEMA
- - _APP_DB_USER
- - _APP_DB_PASS
- - _APP_REDIS_HOST
- - _APP_REDIS_PORT
- - _APP_REDIS_USER
- - _APP_REDIS_PASS
- - _APP_INFLUXDB_HOST
- - _APP_INFLUXDB_PORT
- - _APP_USAGE_TIMESERIES_INTERVAL
- - _APP_LOGGING_PROVIDER
- - _APP_LOGGING_CONFIG
-
appwrite-schedule:
image: /:
entrypoint: schedule
diff --git a/src/Appwrite/Platform/Tasks/Usage.php b/src/Appwrite/Platform/Tasks/Usage.php
index 152523fd3..fa677ea14 100644
--- a/src/Appwrite/Platform/Tasks/Usage.php
+++ b/src/Appwrite/Platform/Tasks/Usage.php
@@ -41,7 +41,7 @@ class Usage extends Action
$errorLogger = fn(Throwable $error, string $action = 'syncUsageStats') => $logError($error, "usage", $action);
- $interval = (int) App::getEnv('_APP_USAGE_TIMESERIES_INTERVAL', '30'); // 30 seconds (by default)
+ $interval = (int) App::getEnv('_APP_USAGE_AGGREGATION_INTERVAL', '30'); // 30 seconds (by default)
$region = App::getEnv('region', 'default');
$usage = new TimeSeries($region, $dbForConsole, $influxDB, $getProjectDB, $register, $errorLogger);