From dcc5c0bc0476d731524b40ce567d69c260d622aa Mon Sep 17 00:00:00 2001 From: robin Date: Wed, 6 Dec 2023 10:49:01 +0000 Subject: [PATCH] lighthouse --- .gitea/workflows/deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 44e21dc..2e1d8c2 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -15,12 +15,14 @@ jobs: image: mongo:4.2 ports: - 27017:27017 + options: --health-cmd='mongo --eval "db.adminCommand(\'ping\')"' --health-interval=10s --health-timeout=5s --health-retries=3 maildev: image: gitbase.de/robin/maildev:latest ports: - 80:80 - 25:25 + options: --health-cmd='curl -f http://localhost:80' --health-interval=10s --health-timeout=5s --health-retries=3 # tibi-server: image: gitbase.de/cms/tibi-server @@ -33,11 +35,13 @@ jobs: SECURITY_ALLOWABSOLUTEPATHS: "true" SECURITY_ALLOWUPPERPATHS: "true" SECURITY_ALLOWRELATIVEPATHS: "true" + options: --health-cmd='curl -f http://localhost:8080' --health-interval=10s --health-timeout=5s --health-retries=3 live-server: image: gitbase.de/robin/live-server:latest ports: - 8081:8081 + options: --health-cmd='curl -f http://localhost:8081' --health-interval=10s --health-timeout=5s --health-retries=3 steps: - uses: actions/checkout@v3