From f944e31ce05cf24b3b6292eb15c04690d36b4128 Mon Sep 17 00:00:00 2001 From: robin Date: Sun, 17 Dec 2023 11:15:50 +0000 Subject: [PATCH] test --- .gitea/workflows/deploy.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index b658b69..ba174ca 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -48,14 +48,12 @@ 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 @@ -68,13 +66,11 @@ 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 @@ -89,6 +85,18 @@ jobs: with: entrypoint: echo args: "dastest" + - name: check docker networking infos + run: | + echo "${{ toJson(job) }}" + echo "${{ github }}" + docker network ls + docker network inspect bridge + docker network inspect host + docker network inspect none + docker network inspect container:${{ job.services.tibi-server.id }} + docker network inspect container:${{ job.services.live-server.id }} + docker network inspect container:${{ job.services.mongo.id }} + docker network inspect container:${{ job.services.maildev.id }} - name: install dependencies env: