-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from bcgsc/feature/kc-in-docker-compose
Feature/kc in docker compose
- Loading branch information
Showing
15 changed files
with
2,299 additions
and
2,449 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: test-compose | ||
on: | ||
- workflow_dispatch | ||
- pull_request | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
name: test docker-compose start | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: mkdir -p databases/{postgres,orientdb}/{backup,data} | ||
- run: mkdir keys | ||
- run: docker-compose -f "docker-compose.dev.yml" up -d --build | ||
- run: bash tests/test-docker-compose.sh | ||
- run: docker-compose -f "docker-compose.dev.yml" down | ||
if: always() |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
FROM jboss/keycloak:12.0.2 | ||
FROM jboss/keycloak:16.1.1 | ||
USER root | ||
RUN mkdir -p /tmp/realm_data/ | ||
COPY demo/kc_setup_keyfile.sh /scripts/kc_setup_keyfile.sh | ||
RUN chmod a+x /scripts/kc_setup_keyfile.sh | ||
COPY demo/kc_realm_export.json /tmp/realm_data/kc_realm_export.json | ||
ENV KEYCLOAK_IMPORT=/tmp/realm_data/kc_realm_export.json |
Oops, something went wrong.