Skip to content

Commit

Permalink
Added dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dyohan9 committed Dec 17, 2020
1 parent 25ada29 commit 8a34558
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM quay.io/keycloak/keycloak:11.0.3

COPY ./themes/ilhasoft/ /opt/jboss/keycloak/themes/ilhasoft/
#COPY ./standalone.xml /opt/jboss/keycloak/standalone/configuration/standalone.xml
26 changes: 16 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
keycloak:
image: quay.io/keycloak/keycloak:11.0.2
ports:
- "8080:8080"
volumes:
- ./themes/ilhasoft/:/opt/jboss/keycloak/themes/ilhasoft/
- ./standalone.xml:/opt/jboss/keycloak/standalone/configuration/standalone.xml
environment:
KEYCLOAK_USER: "admin"
KEYCLOAK_PASSWORD: "admin"
version: '3.6'

services:
keycloak:
image: ${DOCKER_IMAGE_NAME:-ilha/keycloak}:${TAG:-latest}
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
# volumes:
# - ./themes/ilhasoft/:/opt/jboss/keycloak/themes/ilhasoft/
# - ./standalone.xml:/opt/jboss/keycloak/standalone/configuration/standalone.xml
environment:
KEYCLOAK_USER: "admin"
KEYCLOAK_PASSWORD: "admin"
Empty file removed themes/README.md
Empty file.

0 comments on commit 8a34558

Please sign in to comment.