-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes to get docker compose to launch cleanly
- Loading branch information
1 parent
50433c8
commit f382fc9
Showing
6 changed files
with
415 additions
and
143 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
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,11 +1,8 @@ | ||
CREATE ROLE keystonejsuser WITH LOGIN PASSWORD 'keystonejsuser'; | ||
|
||
CREATE DATABASE keystonejs OWNER keystonejsuser; | ||
|
||
CREATE ROLE konguser WITH LOGIN PASSWORD 'konguser'; | ||
|
||
CREATE DATABASE kong OWNER konguser; | ||
|
||
CREATE ROLE keycloakuser WITH LOGIN PASSWORD 'keycloakuser'; | ||
|
||
CREATE DATABASE keycloak OWNER keycloakuser; |
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
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,10 @@ | ||
FROM quay.io/keycloak/keycloak:26.0.6 as builder | ||
|
||
ENV KC_DB=postgres | ||
RUN /opt/keycloak/bin/kc.sh build --http-relative-path=/auth | ||
|
||
FROM quay.io/keycloak/keycloak:26.0.6 | ||
COPY --from=builder /opt/keycloak/ /opt/keycloak/ | ||
WORKDIR /opt/keycloak | ||
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] | ||
CMD ["start", "--optimized", "--hostname", "http://localhost:8080", "--http-enabled", "true"] |
Oops, something went wrong.