Skip to content
Snippets Groups Projects
Verified Commit 38faeee3 authored by Ira ¯\_(ツ)_/¯'s avatar Ira ¯\_(ツ)_/¯
Browse files

only specify internal port; move health check to JAVA; import realm conf

parent c9042a20
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,8 @@ services:
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
JAVA_OPTS: -Dkeycloak.profile=preview
JAVA_OPTS: -Dkeycloak.profile=preview -Dkeycloak.migration.action=import -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=/tmp/master.json -Dkeycloak.migration.strategy=OVERWRITE_EXISTING
volumes:
- ./tmp/master.json:/tmp/master.json
ports:
- 8080:8080
healthcheck:
test: ["CMD-SHELL", "curl http://localhost:8080/auth/realms/master"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
- 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment