We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e3875 commit 6050b14Copy full SHA for 6050b14
.github/workflows/e2e-tests.yml
@@ -28,8 +28,7 @@ jobs:
28
- name: Run Sample App in Docker
29
run: |
30
cp .env.docker.example .env.docker &&
31
- npm run docker:up -- -d &&
32
- while ! nc -z localhost 4400; do sleep 1; done
+ npm run docker:up -- --wait
33
34
- name: Install Chrome v111
35
uses: browser-actions/setup-chrome@v1
docker-compose.yml
@@ -35,6 +35,11 @@ services:
environment:
36
CLIENT_PORT: "${CLIENT_PORT}"
37
VITE_METABASE_INSTANCE_URL: "http://localhost:${MB_PORT}"
38
+ healthcheck:
39
+ test: curl --fail -X GET -I "http://localhost:${CLIENT_PORT}/" || exit 1
40
+ interval: 2s
41
+ timeout: 2s
42
+ retries: 5
43
ports:
44
- "${CLIENT_PORT}:${CLIENT_PORT}"
45
volumes:
0 commit comments