Add form for registration and login #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Compose Build | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: [ develop ] | |
jobs: | |
docker-compose: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build Docker Compose | |
run: docker compose build --no-cache | |
- name: Start Docker Compose | |
run: docker compose up -d | |
- name: Health Check AuthService | |
run: | | |
echo "Checking health..." | |
for i in {1..10}; do | |
curl --fail http://0.0.0.0:8082/health && break || sleep 5 | |
done | |
curl --fail http://0.0.0.0:8082/health || exit 1 | |
- name: Health Check PostService | |
run: | | |
echo "Checking health..." | |
for i in {1..10}; do | |
curl --fail http://0.0.0.0:8081/health && break || sleep 5 | |
done | |
curl --fail http://0.0.0.0:8081/health || exit 1 |