-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor update: Update to route protection
- Loading branch information
1 parent
1b2595f
commit 583cd99
Showing
157 changed files
with
2,150 additions
and
750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
PORT=3001 | ||
|
||
# URL WHERE THE REVERSE PROXY OF THE CLM-MICROSERVICES IS | ||
DEPLOY_URL=http://localhost/api | ||
DEPLOY_URL=http://localhost:3001 | ||
|
||
# ADMIN LTI TOOL | ||
UES_BASIC_LAUNCH_RESSOURCE=/basic_launch/adminService | ||
|
@@ -19,21 +19,3 @@ SMTP_PASS= | |
|
||
# THE BASE_PATH DEFINES THE SUBPATH WHERE ALL ROUTES SHOULD BE DEPLOYED | ||
BASE_PATH=/core | ||
|
||
# THE SECRET FOR THE JWT TOKENS | ||
TOKEN_SECRET=secret | ||
|
||
# CLM_ROOT_USER | ||
[email protected] | ||
|
||
# CLM_ROOT_PASSWORD | ||
CLM_ROOT_PASSWORD=ABC123 | ||
|
||
# WHEN SET TO TRUE, THE ERRORS WILL BE RETURNED TO THE CLIENT. IF NOT ONLY A STATUS CODE WILL BE RETURNED | ||
DISABLE_ERR_RESPONSE=false | ||
|
||
# WHETHER TO ALLOW ACCESS_TOKEN FROM EXTERNAL OIDC PROVIDERS | ||
OIDC_PROVIDERS=[] | ||
|
||
# API TOKEN FOR TO ACCESS THE CLM API | ||
API_TOKEN=MGMT_SERVICE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
variables: | ||
DOCKER_IMAGE_NAME: dockerhub.fokus.fraunhofer.de:5000/learning-technologies/clm-framework/clm-core | ||
DOCKER_TLS_CERTDIR: "/certs" | ||
|
||
stages: | ||
- build_push | ||
|
||
default: | ||
image: docker:24.0.5 | ||
tags: | ||
- build_docker | ||
services: | ||
- docker:24.0.5-dind | ||
before_script: | ||
- docker info | ||
|
||
build_push_image: | ||
stage: build_push | ||
image: docker:latest | ||
tags: | ||
- build_docker | ||
services: | ||
- docker:dind | ||
script: | ||
- echo "Building Docker image..." | ||
- docker login dockerhub.fokus.fraunhofer.de:5000 -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" | ||
- docker build -t $DOCKER_IMAGE_NAME:latest . | ||
- echo "Pushing Docker image..." | ||
- docker login dockerhub.fokus.fraunhofer.de:5000 -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" | ||
- > | ||
if docker pull $DOCKER_IMAGE_NAME:latest; then | ||
IMAGE_TAG=$CI_COMMIT_SHORT_SHA | ||
else | ||
IMAGE_TAG="latest" | ||
fi | ||
- docker tag $DOCKER_IMAGE_NAME:latest $DOCKER_IMAGE_NAME:$IMAGE_TAG | ||
- docker push $DOCKER_IMAGE_NAME:$IMAGE_TAG | ||
only: | ||
- dev |
Oops, something went wrong.