From 5cd4b5e0f289ada7c384d98e5a837644407b234f Mon Sep 17 00:00:00 2001
From: Eduard Frankford <e.frankford@student.uibk.ac.at>
Date: Wed, 29 Jun 2022 14:20:27 +0200
Subject: [PATCH] removed keycloak from docker compose

---
 src/main/docker/gitsearch.yml | 56 +++++++++++++++++------------------
 src/main/docker/keycloak.yml  |  2 +-
 2 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/main/docker/gitsearch.yml b/src/main/docker/gitsearch.yml
index 1ab5f2eae..ba27c990e 100644
--- a/src/main/docker/gitsearch.yml
+++ b/src/main/docker/gitsearch.yml
@@ -46,34 +46,34 @@ services:
     restart: always
     networks:
       - backend
-  keycloak:
-    image: jboss/keycloak:16.1.0
-    command:
-      [
-        '-b',
-        '0.0.0.0',
-        '-Dkeycloak.migration.action=import',
-        '-Dkeycloak.migration.provider=dir',
-        '-Dkeycloak.migration.dir=/opt/jboss/keycloak/realm-config',
-        '-Dkeycloak.migration.strategy=OVERWRITE_EXISTING',
-        '-Djboss.socket.binding.port-offset=1000',
-        '-Dkeycloak.profile.feature.upload_scripts=enabled',
-      ]
-    volumes:
-      - ./realm-config:/opt/jboss/keycloak/realm-config
-    environment:
-      - KEYCLOAK_USER=admin
-      - KEYCLOAK_PASSWORD=admin
-      - DB_VENDOR=h2
-    # If you want to expose these ports outside your dev PC,
-    # remove the "127.0.0.1:" prefix
-    ports:
-      - 127.0.0.1:9080:9080
-      - 127.0.0.1:9443:9443
-      - 127.0.0.1:10990:10990
-    networks:
-      - backend
-      - frontend
+  # keycloak:
+  #   image: jboss/keycloak:16.1.0
+  #   command:
+  #     [
+  #       '-b',
+  #       '0.0.0.0',
+  #       '-Dkeycloak.migration.action=import',
+  #       '-Dkeycloak.migration.provider=dir',
+  #       '-Dkeycloak.migration.dir=/opt/jboss/keycloak/realm-config',
+  #       '-Dkeycloak.migration.strategy=OVERWRITE_EXISTING',
+  #       '-Djboss.socket.binding.port-offset=1000',
+  #       '-Dkeycloak.profile.feature.upload_scripts=enabled',
+  #     ]
+  #   volumes:
+  #     - ./realm-config:/opt/jboss/keycloak/realm-config
+  #   environment:
+  #     - KEYCLOAK_USER=admin
+  #     - KEYCLOAK_PASSWORD=admin
+  #     - DB_VENDOR=h2
+  #   # If you want to expose these ports outside your dev PC,
+  #   # remove the "127.0.0.1:" prefix
+  #   ports:
+  #     - 127.0.0.1:9080:9080
+  #     - 127.0.0.1:9443:9443
+  #     - 127.0.0.1:10990:10990
+  #   networks:
+  #     - backend
+  #     - frontend
 networks:
   frontend:
     name: sharing_frontend
diff --git a/src/main/docker/keycloak.yml b/src/main/docker/keycloak.yml
index 065b3019d..f998718a5 100644
--- a/src/main/docker/keycloak.yml
+++ b/src/main/docker/keycloak.yml
@@ -1,5 +1,5 @@
 # This configuration is intended for development purpose, it's **your** responsibility to harden it for production
-version: '3.8'
+version: '3.3'
 services:
   keycloak:
     image: jboss/keycloak:16.1.0
-- 
GitLab