[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-08-07 21:30:05 +00:00
committed by Narciso
parent 5c862f7ef4
commit be71866c96
2 changed files with 7 additions and 5 deletions
@@ -223,8 +223,9 @@ PORT=3000
<FormDescription>
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.
</FormDescription>
</div>
<FormControl>
+4 -3
View File
@@ -24,9 +24,10 @@ export const isDockerDesktop = async () => {
/** Returns the Docker host IP address. */
export const getDockerHost = async (): Promise<string> => {
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 {