fix: use original_server for log drain config in generate_compose_file (#7619)
This commit is contained in:
commit
dd7962885c
1 changed files with 1 additions and 1 deletions
|
|
@ -2613,7 +2613,7 @@ private function generate_compose_file()
|
||||||
} else {
|
} else {
|
||||||
$docker_compose['services'][$this->container_name]['labels'] = $labels;
|
$docker_compose['services'][$this->container_name]['labels'] = $labels;
|
||||||
}
|
}
|
||||||
if ($this->server->isLogDrainEnabled() && $this->application->isLogDrainEnabled()) {
|
if ($this->original_server->isLogDrainEnabled() && $this->application->isLogDrainEnabled()) {
|
||||||
$docker_compose['services'][$this->container_name]['logging'] = generate_fluentd_configuration();
|
$docker_compose['services'][$this->container_name]['logging'] = generate_fluentd_configuration();
|
||||||
}
|
}
|
||||||
if ($this->application->settings->is_gpu_enabled) {
|
if ($this->application->settings->is_gpu_enabled) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue