Skip to content

Commit e004d8b

Browse files
committed
fix: change default DOCKER_CONFIG to a config directory instead of config.json file
1 parent e79f8c4 commit e004d8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/server/src/utils/builders/compose.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ const createEnvFile = (compose: ComposeNested) => {
193193
let envContent = `APP_NAME=${appName}\n`;
194194
envContent += env || "";
195195
if (!envContent.includes("DOCKER_CONFIG")) {
196-
envContent += "\nDOCKER_CONFIG=/root/.docker/config.json";
196+
envContent += "\nDOCKER_CONFIG=/root/.docker";
197197
}
198198

199199
if (compose.randomize) {
@@ -223,7 +223,7 @@ export const getCreateEnvFileCommand = (compose: ComposeNested) => {
223223
let envContent = `APP_NAME=${appName}\n`;
224224
envContent += env || "";
225225
if (!envContent.includes("DOCKER_CONFIG")) {
226-
envContent += "\nDOCKER_CONFIG=/root/.docker/config.json";
226+
envContent += "\nDOCKER_CONFIG=/root/.docker";
227227
}
228228

229229
if (compose.randomize) {

0 commit comments

Comments
 (0)