Remove ability to run dev server through Docker (#2272)
This commit is contained in:
parent
9242ba6935
commit
76e35ca84b
3 changed files with 0 additions and 25 deletions
|
|
@ -1,2 +0,0 @@
|
|||
cypress
|
||||
.github
|
||||
11
Dockerfile
11
Dockerfile
|
|
@ -1,11 +0,0 @@
|
|||
FROM maven:3.6.0-jdk-11-slim as builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN mvn -f /app/keycloak-theme/pom.xml install
|
||||
|
||||
FROM quay.io/keycloak/keycloak:17.0.0
|
||||
COPY --from=builder /app/keycloak-theme/target/keycloak-admin-ui*.jar /opt/jboss/keycloak/lib/lib/main/
|
||||
|
||||
EXPOSE 8080
|
||||
12
README.md
12
README.md
|
|
@ -27,18 +27,6 @@ For development on this project you will need a running Keycloak server listenin
|
|||
$> npm run start
|
||||
```
|
||||
|
||||
## Build and run through Docker
|
||||
git checkout git@github.com:keycloak/keycloak-admin-ui.git
|
||||
cd keycloak-admin-ui
|
||||
docker build -t keycloak-v2 .
|
||||
docker run --name keycloak-v2 -d -p 127.0.0.1:8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin keycloak-v2 -Dkeycloak.profile.feature.admin2=enabled
|
||||
|
||||
You can reach the new admin interface at `http://localhost:8080`. Then go to `Realm Settings --> Themes` and set Admin Console Theme to `keycloak.v2`.
|
||||
|
||||
If your Keycloak instance is not on `localhost:8180`, create a file `.env` with the following:
|
||||
|
||||
KEYCLOAK_ENDPOINT=https:\/\/remoteinstance.keycloak.com
|
||||
|
||||
## Building as a Keycloak theme
|
||||
|
||||
If you want to build the application using Maven and produce a JAR that can be installed directly into Keycloak, check out the [Keycloak theme documentation](./keycloak-theme/README.md).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue