From 8a34558ec06d16aa4fc61b622b57558047197494 Mon Sep 17 00:00:00 2001 From: Daniel Yohan Date: Thu, 17 Dec 2020 11:02:35 -0300 Subject: [PATCH] Added dockerfile --- Dockerfile | 4 ++++ docker-compose.yml | 26 ++++++++++++++++---------- themes/README.md | 0 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 Dockerfile delete mode 100644 themes/README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..02b6e93 --- /dev/null +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 5d01cf4..24e54f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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" diff --git a/themes/README.md b/themes/README.md deleted file mode 100644 index e69de29..0000000