@stacksjs/cloud 0.58.66 → 0.58.67
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
CHANGED
|
@@ -1664,7 +1664,7 @@ class ComputeStack {
|
|
|
1664
1664
|
})
|
|
1665
1665
|
}),
|
|
1666
1666
|
healthCheck: {
|
|
1667
|
-
command: ["CMD-SHELL", "curl -f http://localhost:3000/api/
|
|
1667
|
+
command: ["CMD-SHELL", "curl -f http://localhost:3000/api/healthy || exit 1"],
|
|
1668
1668
|
interval: Duration6.seconds(10),
|
|
1669
1669
|
timeout: Duration6.seconds(5),
|
|
1670
1670
|
retries: 3,
|
package/package.json
CHANGED
package/src/cloud/compute.ts
CHANGED
|
@@ -53,7 +53,7 @@ export class ComputeStack {
|
|
|
53
53
|
}),
|
|
54
54
|
}),
|
|
55
55
|
healthCheck: {
|
|
56
|
-
command: ['CMD-SHELL', 'curl -f http://localhost:3000/api/
|
|
56
|
+
command: ['CMD-SHELL', 'curl -f http://localhost:3000/api/healthy || exit 1'], // requires curl inside the container which isn't available in the base image. I wonder if there is a better way
|
|
57
57
|
interval: Duration.seconds(10),
|
|
58
58
|
timeout: Duration.seconds(5),
|
|
59
59
|
retries: 3,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks-router-layer",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.67",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@stacksjs/router": "^0.58.
|
|
13
|
+
"@stacksjs/router": "^0.58.66"
|
|
14
14
|
}
|
|
15
15
|
}
|