fix: add createEnvFile toggle to Compose, mirroring Application

This commit is contained in:
Narciso
2026-08-07 17:28:57 -04:00
parent 1de7b515ab
commit 5c862f7ef4
8 changed files with 9040 additions and 3 deletions
@@ -19,7 +19,9 @@ export const getBuildComposeCommand = async (compose: ComposeNested) => {
const { COMPOSE_PATH } = paths(!!compose.serverId);
const { sourceType, appName, mounts, composeType, domains } = compose;
const command = createCommand(compose);
const envCommand = getCreateEnvFileCommand(compose);
const envCommand = compose.createEnvFile
? getCreateEnvFileCommand(compose)
: "";
const projectPath = join(COMPOSE_PATH, compose.appName, "code");
const exportEnvCommand = getExportEnvCommand(compose);