From ccc47778342e0efb2c4a6e213da45457d76b1c34 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 30 Jun 2022 18:42:45 +0200 Subject: [PATCH] [DEV] update docker start --- docker-compose.yaml | 3 +-- readme.md | 24 ++++++++++++++++++++++++ sso/src/app/scene/sign-in/sign-in.ts | 1 + 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 readme.md diff --git a/docker-compose.yaml b/docker-compose.yaml index cd50a2a..5606853 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -31,9 +31,8 @@ services: mem_limit: 100m karauth_back_service: - build: . restart: always - image: org.kar.auth + image: gitea.atria-soft.org/kangaroo-and-rabbit/karauth:latest depends_on: - karauth_db_service ports: diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..88af8c9 --- /dev/null +++ b/readme.md @@ -0,0 +1,24 @@ +Karauth +======= + +This repository manage 3 elements: + - The SSO backend: jersey REST server + - The SSO front-end: Angular login interface (KARSO) + - The adminitrator of the SSO: Angular adminitration interface of the SSO (KARAUTH) + +To build the docker image: +-------------------------- + +```{.bash} +gitea.atria-soft.org/kangaroo-and-rabbit/karideo:latest +``` + + +To start the service +-------------------- + +```{.bash} +docker-compose up -d +``` + +**Note:** you can manage a single Docker interface to manage all the KAR engine diff --git a/sso/src/app/scene/sign-in/sign-in.ts b/sso/src/app/scene/sign-in/sign-in.ts index 0acd234..9f33275 100644 --- a/sso/src/app/scene/sign-in/sign-in.ts +++ b/sso/src/app/scene/sign-in/sign-in.ts @@ -200,6 +200,7 @@ export class SignInScene implements OnInit { outUrl = `http://localhost:4203/sso/${this.ssoReturnData}/${rememberMe}/`; } else if (applicationId === "karusic") { outUrl = `http://192.168.1.156/karusic/sso/${this.ssoReturnData}/${rememberMe}/`; + } return outUrl; }