From 1fbb12eac93ebdfe84c6814990f5a9c33f41e924 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:38:33 +0530 Subject: [PATCH 1/8] Update .env --- .env | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.env b/.env index c7d2f50..90929c7 100644 --- a/.env +++ b/.env @@ -15,3 +15,5 @@ SUNBIRDURL= https://sunbirdsaas.com #https://diksha.gov.in # Keycloak Admin Credentials KEYCLOAK_USERNAME=admin KEYCLOAK_PASSWORD=Alt@2022 + + From ca1a2bd83540376e17f483dd5e7cd27d2edb6952 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:44:47 +0530 Subject: [PATCH 2/8] Update .env --- .env | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.env b/.env index 90929c7..1689090 100644 --- a/.env +++ b/.env @@ -7,13 +7,13 @@ HASURAURL=http://143.110.183.73:15003/v1/graphql ADMINSECRET=4GeEB2JCU5rBdLvQ4AbeqqrPGu7kk9SZDhJUZm7A ADAPTERSOURCE=hasura REGISTYADAPTER=hasura -REGISTRYHASURA=https://alt.uniteframework.io/hasura/v1/graphql -REGISTRYHASURAADMINSECRET=Alt@2023 -ALTHASURA=https://alt.uniteframework.io/hasura/v1/graphql -ALTKEYCLOAK=https://alt.uniteframework.io/auth/admin/realms/hasura-app/users +REGISTRYHASURA=https://uatalt.uniteframework.io/hasura/v1/graphql +REGISTRYHASURAADMINSECRET=ALT@9922 +ALTHASURA=https://uatalt.uniteframework.io/hasura/v1/graphql +ALTKEYCLOAK=https://uatalt.uniteframework.io/auth/admin/realms/hasura-app/users SUNBIRDURL= https://sunbirdsaas.com #https://diksha.gov.in # Keycloak Admin Credentials KEYCLOAK_USERNAME=admin -KEYCLOAK_PASSWORD=Alt@2022 +KEYCLOAK_PASSWORD=Alt@2023 From 01ccc5d68064b12b83dd3673e89f9ccf44f70c58 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Sat, 23 Sep 2023 22:02:01 +0530 Subject: [PATCH 3/8] Update .env --- .env | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.env b/.env index 1689090..d982053 100644 --- a/.env +++ b/.env @@ -7,10 +7,10 @@ HASURAURL=http://143.110.183.73:15003/v1/graphql ADMINSECRET=4GeEB2JCU5rBdLvQ4AbeqqrPGu7kk9SZDhJUZm7A ADAPTERSOURCE=hasura REGISTYADAPTER=hasura -REGISTRYHASURA=https://uatalt.uniteframework.io/hasura/v1/graphql +REGISTRYHASURA=https://uat-alt-api.uniteframework.io/hasura/v1/graphql REGISTRYHASURAADMINSECRET=ALT@9922 -ALTHASURA=https://uatalt.uniteframework.io/hasura/v1/graphql -ALTKEYCLOAK=https://uatalt.uniteframework.io/auth/admin/realms/hasura-app/users +ALTHASURA=https://uat-alt-api.uniteframework.io/hasura/v1/graphql +ALTKEYCLOAK=https://uat-alt-api.uniteframework.io/auth/admin/realms/hasura-app/users SUNBIRDURL= https://sunbirdsaas.com #https://diksha.gov.in # Keycloak Admin Credentials KEYCLOAK_USERNAME=admin From f389ba6dc5c026f93c130ecc1e3ae7cd713e7570 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:40:10 +0530 Subject: [PATCH 4/8] Create Jenkinsfile --- Jenkinsfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..370c63d --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,19 @@ +pipeline { + agent any + stages { + stage('Checkout'){ + steps{ + git branch: 'uatnew' , url: 'https://github.com/transform1234/alt-backend.git' + } + } + + stage ('Build') { + steps { + sh 'docker rm -f shiksha-backend' + sh 'docker rmi backend_main' + sh 'cd /var/lib/jenkins/workspace/Backend/' + sh 'docker-compose up -d' + } + } + } +} From 588583ca0908e38bc7f479dc8643f4bc959978ae Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:43:18 +0530 Subject: [PATCH 5/8] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9fe8812..2115bf8 100644 --- a/README.md +++ b/README.md @@ -71,3 +71,5 @@ Nest is an MIT-licensed open source project. It can grow thanks to the sponsors ## License Nest is [MIT licensed](LICENSE). + + From 8682054e563c530bdf8a43873083065d3a02d892 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:44:26 +0530 Subject: [PATCH 6/8] Update .env --- .env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env b/.env index d982053..5b6532c 100644 --- a/.env +++ b/.env @@ -14,6 +14,6 @@ ALTKEYCLOAK=https://uat-alt-api.uniteframework.io/auth/admin/realms/hasura-app/u SUNBIRDURL= https://sunbirdsaas.com #https://diksha.gov.in # Keycloak Admin Credentials KEYCLOAK_USERNAME=admin -KEYCLOAK_PASSWORD=Alt@2023 +KEYCLOAK_PASSWORD=Alt@2022 From c751e6b209243617b7c5f826d99dc5337b927e55 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Fri, 6 Oct 2023 17:53:22 +0530 Subject: [PATCH 7/8] Update docker-compose.yml --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index e3cc146..15d0bda 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,7 @@ services: - .env networks: - webnet + restart: always # depends_on: # - redis # - postgres @@ -42,4 +43,4 @@ services: networks: webnet: # volumes: -# pgdata: \ No newline at end of file +# pgdata: From fa01ecdae6f700b8daa51401157753a388ed2612 Mon Sep 17 00:00:00 2001 From: prasadharke-tekdi <131845849+prasadharke-tekdi@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:43:25 +0530 Subject: [PATCH 8/8] Delete .env --- .env | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .env diff --git a/.env b/.env deleted file mode 100644 index cf4fb7b..0000000 --- a/.env +++ /dev/null @@ -1,19 +0,0 @@ -SERVER_PORT=3000 -PORT=3000 -IMAGEPATH=./uploads -TTL=1 -DIKSHADEVBASEAPIURL=https://vdn.diksha.gov.in/action -HASURAURL=https://alt.uniteframework.io/hasura/v1/graphql -ADMINSECRET=4GeEB2JCU5rBdLvQ4AbeqqrPGu7kk9SZDhJUZm7A -ADAPTERSOURCE=hasura -REGISTYADAPTER=hasura -REGISTRYHASURA=https://uat-alt-api.uniteframework.io/hasura/v1/graphql -REGISTRYHASURAADMINSECRET=ALT@9922 -ALTHASURA=https://uat-alt-api.uniteframework.io/hasura/v1/graphql -ALTKEYCLOAK=https://uat-alt-api.uniteframework.io/auth/admin/realms/hasura-app/users -SUNBIRDURL= https://sunbirdsaas.com #https://diksha.gov.in -# Keycloak Admin Credentials -KEYCLOAK_USERNAME=admin -KEYCLOAK_PASSWORD=Alt@2022 - -