feat: add service/resource/project labels

This commit is contained in:
Julien
2024-11-17 22:49:44 +01:00
committed by Julien Ripouteau
parent 1fc4c7872e
commit 8b30123add
11 changed files with 59 additions and 45 deletions

View File

@@ -49,11 +49,7 @@ class StartClickhouse
'hard' => 262144,
],
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => "clickhouse-client --password {$this->database->clickhouse_admin_password} --query 'SELECT 1'",
'interval' => '5s',