@smi-digital/create-smi-app 2.7.0 → 2.7.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smi-digital/create-smi-app",
3
- "version": "2.7.0",
3
+ "version": "2.7.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -41,7 +41,8 @@ services:
41
41
  __APP_NAME__-strapi:
42
42
  condition: service_healthy
43
43
  healthcheck:
44
- test: ["CMD", "wget", "-q", "--spider", "http://localhost:4321"]
44
+ # node-based liveness (image is node:alpine); any HTTP response = server up
45
+ test: ["CMD", "node", "-e", "fetch('http://localhost:4321/').then(() => process.exit(0)).catch(() => process.exit(1))"]
45
46
  interval: 5s
46
47
  timeout: 2s
47
48
  retries: 5
@@ -60,7 +61,7 @@ services:
60
61
  depends_on:
61
62
  - __APP_NAME__-astro
62
63
  healthcheck:
63
- test: ["CMD", "wget", "-q", "--spider", "http://localhost/"]
64
+ test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost/"]
64
65
  interval: 5s
65
66
  timeout: 2s
66
67
  retries: 5