This commit is contained in:
@@ -71,4 +71,4 @@ jobs:
|
|||||||
- run: npm run test --workspace=@pokemon-inventory/web
|
- run: npm run test --workspace=@pokemon-inventory/web
|
||||||
- run: npm run build --workspace=@pokemon-inventory/web
|
- run: npm run build --workspace=@pokemon-inventory/web
|
||||||
- run: npm run build-storybook --workspace=@pokemon-inventory/web
|
- run: npm run build-storybook --workspace=@pokemon-inventory/web
|
||||||
- run: npm run test-storybook
|
- run: npm run test-storybook
|
||||||
|
|||||||
@@ -48,7 +48,13 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- image-storage:${IMAGE_STORAGE_VOLUME:-/var/lib/pokemon-inventory/images}
|
- image-storage:${IMAGE_STORAGE_VOLUME:-/var/lib/pokemon-inventory/images}
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:3000/health').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))"]
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"node",
|
||||||
|
"-e",
|
||||||
|
"fetch('http://127.0.0.1:3000/health').then((response) => process.exit(response.ok ? 0 : 1)).catch(() => process.exit(1))",
|
||||||
|
]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user