mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix(server): switch Fluentd logging from legacy env vars to Docker labels
This commit is contained in:
parent
9e8fb36bc8
commit
81986d627c
1 changed files with 2 additions and 2 deletions
|
|
@ -2687,8 +2687,8 @@ function generate_fluentd_configuration(): array
|
|||
'fluentd-address' => 'tcp://127.0.0.1:24224',
|
||||
'fluentd-async' => 'true',
|
||||
'fluentd-sub-second-precision' => 'true',
|
||||
// env vars are used in the LogDrain configurations
|
||||
'env' => 'COOLIFY_APP_NAME,COOLIFY_PROJECT_NAME,COOLIFY_SERVER_IP,COOLIFY_ENVIRONMENT_NAME',
|
||||
// labels are used in the LogDrain configurations
|
||||
'labels' => 'coolify.name,coolify.projectName,coolify.environmentName',
|
||||
],
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue