Skip to content

Deploy and Configure the User Profile

Alvaro Villanueva edited this page Feb 28, 2022 · 20 revisions

Pre-Requisites

The User Profile Service is packaged and delivered as a Docker container. A SCIM Client must be defined as well as a the host of the login service. In order to use make it work, first Docker must be installed, and an image of the repository must be built.

Configuration

You can clone the image from the repository (https://github.com/EOEPCA/um-user-profile) and deploy your own version of the service.

In case the SCIM client and the login service are external deployments, all manual configuration (domain, scopes, clients...) must be updated in the configuration file (https://github.com/EOEPCA/um-user-profile/blob/develop/src/config/WEB_config.json) before creating the docker image. Or in case the deployment is via Helm the values.yml is the file that needs to be modified in order to add manual configuration.

Deployment

Docker deployment

Once the configuration has been made, the image will be created with the following command:

docker build . -t <image_name>

Then you can run the container with the image created with:

docker run <imageID>

The service should be visible at the endpoint /web_ui of the domain specified in the configuration file. Attribute editing will be possible while the SCIM client is up

Deployment using Helm Charts

Pre-requisites

Installed Helm v2 (Official installation guide)

Installed Minikube (Can be achieved by following the instructions in the main EOEPCA Repository)

Installation

In order to deploy this repository with Helm Charts is needed to navigate to the /charts path within the repository. Run the following command specifying the name of the release:

helm install --name myRelease ./user-profile/

⏭️ Next step: Chart Configuration

Clone this wiki locally