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

@@ -47,11 +47,7 @@ class StartPostgresql
'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-SHELL',