This commit is contained in:
@ -30,13 +30,13 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v3.6.1
|
uses: docker/setup-buildx-action@v3.6.1
|
||||||
|
|
||||||
# https://github.com/docker/build-push-action
|
# https://github.com/docker/build-push-action
|
||||||
- name: Build and push
|
# - name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
# uses: docker/build-push-action@v6
|
||||||
|
|
||||||
#
|
#
|
||||||
- name: Create necessary Docker networks
|
- name: Create necessary Docker networks
|
||||||
run: |
|
run: |
|
||||||
docker network create back_network || true
|
docker network create back_network_librenms || true
|
||||||
docker network create traefik_front_network || true
|
docker network create traefik_front_network || true
|
||||||
|
|
||||||
- name: Start up services using Docker Compose
|
- name: Start up services using Docker Compose
|
||||||
@ -52,11 +52,11 @@ jobs:
|
|||||||
- name: Wait for the application to be ready via Traefik
|
- name: Wait for the application to be ready via Traefik
|
||||||
run: |
|
run: |
|
||||||
echo "Checking the routing and availability of application via Traefik..."
|
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://librenms.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done'
|
||||||
|
|
||||||
- name: Inspect Network Configuration
|
- name: Inspect Network Configuration
|
||||||
run: |
|
run: |
|
||||||
docker network inspect back_network
|
docker network inspect back_network_librenms
|
||||||
docker network inspect traefik_front_network
|
docker network inspect traefik_front_network
|
||||||
|
|
||||||
- name: Shutdown Docker Compose services
|
- name: Shutdown Docker Compose services
|
||||||
@ -67,4 +67,4 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
docker compose --profile setup down
|
docker compose --profile setup down
|
||||||
rm -rf /workspace/tips-of-mine/metabase/*
|
rm -rf /workspace/tips-of-mine/librenms/*
|
Reference in New Issue
Block a user