update
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 39s

This commit is contained in:
Hubert Cornet 2024-12-23 19:09:51 +01:00
parent 92fd0f9d47
commit 936c1390c1
2 changed files with 8 additions and 3 deletions

View File

@ -39,7 +39,7 @@ 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 traefik.tips-of-mine.com" | sudo tee -a /etc/hosts
- name: Print Docker Compose services status
run: docker ps
@ -47,7 +47,7 @@ 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://traefik.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done'
- name: Inspect Network Configuration
run: |
@ -62,4 +62,4 @@ jobs:
if: always()
run: |
docker compose --profile setup down
rm -rf /workspace/tips-of-mine/metabase/*
rm -rf /workspace/tips-of-mine/traefik/*

View File

@ -27,6 +27,11 @@ Modification des labels pour traefik
nano docker-compose.yml
~~~
Lancer le script
~~~bash
prepare.sh
~~~
## Lancement
~~~bash