Skip to content

Configuring connection with a VIP instance

Youenn edited this page Nov 30, 2023 · 17 revisions

Prerequisite

Configuration

The following environment variables must be set to configure the connection to VIP API by Shanoir frontend and backend.

When starting Shanoir through docker-compose on your local machine, these variables can be set in the .env file.

See https://docs.docker.com/compose/environment-variables/set-environment-variables/ for more options.

$VIP_URL_HOST

This environment variable must be set for nginx and datasets containers.

Value must be the hostname (or IP address) of the public VIP domain (e.g. vip.creatis.insa-lyon.fr).

$VIP_URL_SCHEME

This environment variable must be set for nginx and datasets containers.

Value must be the VIP URL scheme, i.e. https or http.

$VIP_CLIENT_EMAIL

This environment variable must be set for users.

Value must be the email address under which the service-account technical user is registered in VIP (e.g. [email protected])

Clone this wiki locally