Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1338 | KeyCloak service in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 27, 2022
1 parent 5c943c0 commit 8354a18
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,20 @@ services:
restart: "always"
healthcheck:
test: "curl --silent --fail http://localhost:9200/_cluster/health || exit 1"
keycloak:
image: quay.io/keycloak/keycloak:18.0.2
command: ["start-dev", "--health-enabled=true"]
ports:
- 8080:8080
volumes:
- keycloak-data:/usr/share/keycloak/data
environment:
- KEYCLOAK_ADMIN=${KEYCLOAK_ADMIN-root}
- KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_ADMIN_PASSWORD-Root123}
restart: "always"
healthcheck:
test: "curl --silent --fail http://localhost:8080/health || exit 1"
volumes:
postgres-data:
es-data:
keycloak-data:

0 comments on commit 8354a18

Please sign in to comment.