From f34fe422de1ebfeee7da809cf1622799126427c0 Mon Sep 17 00:00:00 2001 From: hcornet Date: Thu, 26 Dec 2024 19:20:55 +0100 Subject: [PATCH] update --- .gitea/workflows/ci-develop.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci-develop.yml b/.gitea/workflows/ci-develop.yml index 7cfc7b2..2a57e70 100644 --- a/.gitea/workflows/ci-develop.yml +++ b/.gitea/workflows/ci-develop.yml @@ -31,7 +31,7 @@ jobs: - name: Create necessary Docker networks run: | - docker network create back_network || true + docker network create back_network_pg || true docker network create traefik_front_network || true - name: Start up services using Docker Compose @@ -39,7 +39,8 @@ jobs: # - name: Modify /etc/hosts for internal routing # run: | -# echo "127.0.0.1 gitea.tips-of-mine.com" | sudo tee -a /etc/hosts +# echo "127.0.0.1 prometheux.tips-of-mine.com" | sudo tee -a /etc/hosts +# echo "127.0.0.1 grafana.tips-of-mine.com" | sudo tee -a /etc/hosts - name: Print Docker Compose services status run: docker ps @@ -47,11 +48,12 @@ jobs: - name: Wait for the application to be ready via Traefik run: | echo "Checking the routing and availability of application via Traefik..." - timeout 5m bash -c 'while ! curl -fsSLk "https://metabase.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done' + timeout 5m bash -c 'while ! curl -fsSLk "https://prometheux.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done' + timeout 5m bash -c 'while ! curl -fsSLk "https://grafana.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done' - name: Inspect Network Configuration run: | - docker network inspect back_network + docker network inspect back_network_pg docker network inspect traefik_front_network - name: Shutdown Docker Compose services @@ -62,4 +64,4 @@ jobs: if: always() run: | docker compose --profile setup down - rm -rf /workspace/tips-of-mine/metabase/* \ No newline at end of file + rm -rf /workspace/tips-of-mine/prometheux-grafana/* \ No newline at end of file