@webhikers/cli 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/create.js +4 -16
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -156,7 +156,8 @@ export async function createCommand(name) {
|
|
|
156
156
|
github_app_uuid: config.githubAppUuid,
|
|
157
157
|
git_repository: `Webhikers/${name}`,
|
|
158
158
|
git_branch: "master",
|
|
159
|
-
build_pack: "
|
|
159
|
+
build_pack: "dockercompose",
|
|
160
|
+
docker_compose_location: "docker-compose.yml",
|
|
160
161
|
ports_exposes: "3000",
|
|
161
162
|
instant_deploy: false,
|
|
162
163
|
});
|
|
@@ -205,21 +206,8 @@ export async function createCommand(name) {
|
|
|
205
206
|
console.log(` ${c.bold("Coolify:")} ${config.coolifyUrl}`);
|
|
206
207
|
console.log(` ${c.bold("Dir:")} ${projectDir}`);
|
|
207
208
|
|
|
208
|
-
console.log(c.
|
|
209
|
-
console.log(c.yellow(
|
|
210
|
-
console.log(c.yellow(` 2. Click "Persistent Storage" in the left sidebar`));
|
|
211
|
-
console.log(c.yellow(` 3. Click "+ Add" → "Volume Mount" and fill in:`));
|
|
212
|
-
console.log(c.yellow(` Name: ${c.bold(`${name}-data`)}`));
|
|
213
|
-
console.log(c.yellow(` Source Path: ${c.dim("(leave empty)")}`));
|
|
214
|
-
console.log(c.yellow(` Destination Path: ${c.bold("/app/data")}`));
|
|
215
|
-
console.log(c.yellow(` → Click "Add"`));
|
|
216
|
-
console.log(c.yellow(` 4. Click "+ Add" → "Volume Mount" again:`));
|
|
217
|
-
console.log(c.yellow(` Name: ${c.bold(`${name}-media`)}`));
|
|
218
|
-
console.log(c.yellow(` Source Path: ${c.dim("(leave empty)")}`));
|
|
219
|
-
console.log(c.yellow(` Destination Path: ${c.bold("/app/public/media")}`));
|
|
220
|
-
console.log(c.yellow(` → Click "Add"`));
|
|
221
|
-
console.log(c.yellow(` 5. Click "Deploy"\n`));
|
|
222
|
-
console.log(c.yellow(` Volumes MUST be added before the first deploy!`));
|
|
209
|
+
console.log(c.green(`\n Volumes are configured automatically via docker-compose.yml.`));
|
|
210
|
+
console.log(c.yellow(`\n To deploy: Open Coolify UI → Projects → "${name}" → Deploy`));
|
|
223
211
|
|
|
224
212
|
console.log(`\n ${c.bold("Local dev:")} cd ${name} && npm run dev\n`);
|
|
225
213
|
}
|