@stacksjs/cloud 0.58.67 → 0.58.69
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/health || exit 1"],
|
|
1668
1668
|
interval: Duration6.seconds(10),
|
|
1669
1669
|
timeout: Duration6.seconds(5),
|
|
1670
1670
|
retries: 3,
|
|
@@ -1713,7 +1713,7 @@ class ComputeStack {
|
|
|
1713
1713
|
port: 3000,
|
|
1714
1714
|
healthCheck: {
|
|
1715
1715
|
interval: Duration6.seconds(6),
|
|
1716
|
-
path: "/api/
|
|
1716
|
+
path: "/api/health",
|
|
1717
1717
|
protocol: elbv2.Protocol.HTTP,
|
|
1718
1718
|
timeout: Duration6.seconds(5),
|
|
1719
1719
|
healthyThresholdCount: 2,
|
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/health || 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,
|
|
@@ -114,7 +114,7 @@ export class ComputeStack {
|
|
|
114
114
|
port: 3000,
|
|
115
115
|
healthCheck: {
|
|
116
116
|
interval: Duration.seconds(6),
|
|
117
|
-
path: '/api/
|
|
117
|
+
path: '/api/health',
|
|
118
118
|
protocol: elbv2.Protocol.HTTP,
|
|
119
119
|
timeout: Duration.seconds(5),
|
|
120
120
|
healthyThresholdCount: 2,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks-router-layer",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.69",
|
|
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.67"
|
|
14
14
|
}
|
|
15
15
|
}
|