@arkhera30/cli 0.5.1 → 0.5.3
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/dist/index.js +10 -1
- package/guides/index.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -770,7 +770,7 @@ var READER_SERVICE = ` # \u2500\u2500 Reader \u2500\u2500\u2500\u2500\u2500\u25
|
|
|
770
770
|
reservations:
|
|
771
771
|
memory: 32m
|
|
772
772
|
healthcheck:
|
|
773
|
-
test: ["CMD", "wget
|
|
773
|
+
test: ["CMD-SHELL", "wget -qO /dev/null http://localhost:8400/health"]
|
|
774
774
|
interval: 30s
|
|
775
775
|
timeout: 5s
|
|
776
776
|
start_period: 10s
|
|
@@ -2294,6 +2294,15 @@ var updateCommand = new Command7("update").description("Update Horus to the late
|
|
|
2294
2294
|
snapshotSpinner.warn("Could not save snapshot (update will proceed)");
|
|
2295
2295
|
console.log(chalk7.dim(error.message));
|
|
2296
2296
|
}
|
|
2297
|
+
const composeSpinner = ora6("Updating compose configuration...").start();
|
|
2298
|
+
try {
|
|
2299
|
+
const runtimeName = runtime.name === "podman" ? "podman" : "docker";
|
|
2300
|
+
installComposeFile(config, runtimeName);
|
|
2301
|
+
composeSpinner.succeed("Compose configuration updated");
|
|
2302
|
+
} catch (error) {
|
|
2303
|
+
composeSpinner.warn("Could not update compose configuration \u2014 using existing file");
|
|
2304
|
+
console.log(chalk7.dim(error.message));
|
|
2305
|
+
}
|
|
2297
2306
|
console.log("");
|
|
2298
2307
|
console.log(chalk7.bold("Pulling latest images..."));
|
|
2299
2308
|
try {
|
package/guides/index.json
CHANGED