Skip to content

Commit

Permalink
Outline with Keycloak and Let's Encrypt Using Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvaldemar committed Sep 7, 2024
1 parent 195a19a commit 55093f4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/00-deployment-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ jobs:
run: |
docker network create traefik-network || true
docker network create keycloak-network || true
docker network create outline-network || true
- name: Start up services using Docker Compose
run: |
docker compose -f 01-traefik-outline-letsencrypt-docker-compose.yml -p traefik up -d
docker compose -f 02-keycloak-outline-docker-compose.yml -p keycloak up -d
docker compose -f 03-outline-minio-redis-docker-compose.yml -p outline up -d
- name: Modify /etc/hosts for internal routing
run: |
Expand All @@ -41,20 +39,16 @@ jobs:

- name: Wait for the applications to be ready via Traefik
run: |
echo "Checking the routing and availability of Keycloak..."
echo "Checking the routing and availability of application via Traefik..."
timeout 5m bash -c 'while ! curl -fsSLk "https://keycloak.outline.heyvaldemar.net"; do echo "Waiting for Keycloak to be ready..."; sleep 10; done'
echo "Checking the routing and availability of Outline..."
timeout 5m bash -c 'while ! curl -fsSLk "https://outline.heyvaldemar.net"; do echo "Waiting for Outline to be ready..."; sleep 10; done'
- name: Inspect Network Configuration
run: |
docker network inspect traefik-network
docker network inspect keycloak-network
docker network inspect outline-network
- name: Shutdown Docker Compose services
if: always()
run: |
docker compose -f 01-traefik-outline-letsencrypt-docker-compose.yml -p traefik down
docker compose -f 02-keycloak-outline-docker-compose.yml -p keycloak down
docker compose -f 03-outline-minio-redis-docker-compose.yml -p outline down

0 comments on commit 55093f4

Please sign in to comment.