Public Repository

Last pushed: a year ago
Short Description
The Provider Lookup Service (PLS) is responsible for storing and finding provider information.
Full Description

Supported Source Code Tags and Current Dockerfile Link

3.0.0 (latest)

Current Dockerfile

For more information about this image, the source code, and its history, please see the GitHub repository.

What is PLS?

The Provider Lookup Service (PLS) is responsible for storing provider information as a provider directory. The PLS also provides a RESTful service for querying providers by using several query parameters including first name, last name, gender, address, and phone number for individual providers, and organization name, address, and phone number for organizational providers.

For more information and related downloads for Consent2Share, please visit Consent2Share.

How to Use This Image

Start a PLS Instance

Be sure to familiarize yourself with the repository's file before starting the instance.

docker run --name pls -d bhits/pls:latest <additional program arguments>

NOTE: In order for this project to fully function as a microservice in the Consent2Share application, it is required to setup the dependency microservices and the support level infrastructure. Please refer to the Consent2Share Deployment Guide in the corresponding Consent2Share release (see Consent2Share Releases Page) for instructions to setup the Consent2Share infrastructure.


The Spring profiles application-default and docker are activated by default when building images.

This project can run with the default configuration which is from three places: bootstrap.yml, application.yml, and the data which the Configuration Server reads from the Configuration Data Git Repository. Both bootstrap.yml and application.yml files are located in the class path of the running application.

We recommend overriding the configuration as needed in the Configuration Data Git Repository, which is used by the Configuration Server.

Also, Spring Boot supports other ways to override the default configuration to configure the project for a certain deployment environment.

The following is an example to override the default database password:

docker run -d bhits/pls:latest --spring.datasource.password=strongpassword

Environment Variables

When you start the PLS image, you can edit the configuration of the PLS instance by passing one or more environment variables on the command line.


This environment variable is used to setup which jar file will run. You need to mount the jar file to the root of container.

docker run --name pls -e JAR_FILE="pls-latest.jar" -v "/path/on/dockerhost/pls-latest.jar:/pls-latest.jar" -d bhits/pls:latest


This environment variable is used to setup a JVM argument, such as memory configuration.

docker run --name pls -e "JAVA_OPTS=-Xms512m -Xmx700m -Xss1m" -d bhits/pls:latest


This environment variable is used to setup an application argument. The default value is: ", docker".

docker run --name pls -e DEFAULT_PROGRAM_ARGS=",ssl,docker" -d bhits/pls:latest

Supported Docker Versions

This image is officially supported on Docker version 1.13.0.

Support for older versions (down to 1.6) is provided on a best-effort basis.

Please see the Docker installation documentation for details on how to upgrade your Docker daemon.


View license information for the software contained in this image.

User Feedback


Documentation for this image is stored in the bhits/pls GitHub repository. Be sure to familiarize yourself with the repository's file before attempting a pull request.


If you have any problems with or questions about this image, please contact us through a GitHub issue.

Docker Pull Command