The Consent2Share UI(c2s-ui) is a generic UI component of the Consent2share(C2S) application.
662
Dockerfile LinkFor more information about this image, the source code, and its history, please see the GitHub repository.
The Consent2Share User Interface (c2s-ui) is a generic user interface component of the Consent2share (C2S)application. Patients can use this application to manage his or her electronic consents and providers.
For more information and related downloads for Consent2Share, please visit Consent2Share.
Be sure to familiarize yourself with the repository's README.md file before starting the instance.
docker run --name c2s-ui -d bhitsdev/c2s-ui:latest <additional program arguments>
NOTE: In order for this API 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 API 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 API for a certain deployment environment.
The following is an example to override the default configuration:
docker run -d bhitsdev/c2s-ui:latest --c2s.c2s-ui.oauth2.client.secret=strongpassword
When you start the Consent2Share UI image, you can edit the configuration of the Consent2Share UI 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 mount the jar file to the root of container.
docker run --name c2s-ui -e JAR_FILE="c2s-ui-latest.jar" -v "/path/on/dockerhost/c2s-ui-latest.jar:/c2s-ui-latest.jar" -d bhitsdev/c2s-ui:latest
This environment variable is used to setup JVM argument, such as memory configuration.
docker run --name c2s-ui -e "JAVA_OPTS=-Xms512m -Xmx700m -Xss1m" -d bhitsdev/c2s-ui:latest
This environment variable is used to setup an application argument. The default value of is "--spring.profiles.active=application-default, docker".
docker run --name c2s-ui -e DEFAULT_PROGRAM_ARGS="--spring.profiles.active=application-default,ssl,docker" -d bhitsdev/c2s-ui:latest
This image is officially supported on Docker version 1.12.1.
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.
Documentation for this image is stored in the bhitsdev/c2s-ui GitHub repository. Be sure to familiarize yourself with the repository's README.md file before attempting a pull request.
Consent2Share provide support for Internationalization (i18n) in English and Spanish. English is the default language and is fully supported but for Spanish, the translation still need to be completed.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
Content type
Image
Digest
Size
158.7 MB
Last updated
almost 9 years ago
docker pull bhitsdev/c2s-ui:0.9.0