From be71866c9657f319cea27f841c5f442829a30662 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2026 21:30:05 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../dashboard/application/environment/show-environment.tsx | 5 +++-- apps/dokploy/server/utils/docker.ts | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/environment/show-environment.tsx b/apps/dokploy/components/dashboard/application/environment/show-environment.tsx index 25195c837..873fbd1e6 100644 --- a/apps/dokploy/components/dashboard/application/environment/show-environment.tsx +++ b/apps/dokploy/components/dashboard/application/environment/show-environment.tsx @@ -223,8 +223,9 @@ PORT=3000 When enabled, an .env file will be created in the same directory as your compose file on every deploy. - Disable this if you don't want to generate an - environment file. + Disable this to keep a repository-provided .env; the + variables above will then be ignored. Takes effect on + the next deploy. diff --git a/apps/dokploy/server/utils/docker.ts b/apps/dokploy/server/utils/docker.ts index 084315241..d116a45f9 100644 --- a/apps/dokploy/server/utils/docker.ts +++ b/apps/dokploy/server/utils/docker.ts @@ -24,9 +24,10 @@ export const isDockerDesktop = async () => { /** Returns the Docker host IP address. */ export const getDockerHost = async (): Promise => { if (process.env.NODE_ENV === "production") { - const isLinux = process.platform === "linux" - ? (await Promise.all([isWSL(), isDockerDesktop()])).every((v) => !v) - : false; + const isLinux = + process.platform === "linux" + ? (await Promise.all([isWSL(), isDockerDesktop()])).every((v) => !v) + : false; if (isLinux) { try {