Merge pull request #4324 from JuliensForks/main

feat: add some new labels to every container
This commit is contained in:
Andras Bacsai
2024-12-18 12:55:33 +01:00
committed by GitHub
11 changed files with 68 additions and 46 deletions

View File

@@ -43,11 +43,7 @@ class StartMysql
'networks' => [
$this->database->destination->network,
],
'labels' => [
'coolify.managed' => 'true',
'coolify.type' => 'database',
'coolify.databaseId' => $this->database->id,
],
'labels' => defaultDatabaseLabels($this->database)->toArray(),
'healthcheck' => [
'test' => ['CMD', 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'root', "-p{$this->database->mysql_root_password}"],
'interval' => '5s',