-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dubey | BSHR-XX | Add dockerfile and docker configurations
- Loading branch information
Showing
3 changed files
with
53 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
**/** | ||
!Dockerfile | ||
!env/docker_shr | ||
!shr/build/distributions/shr-*.noarch.rpm |
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,18 @@ | ||
FROM centos:6.6 | ||
|
||
ENV JAVA_VERSION_MAJOR=8 \ | ||
JAVA_VERSION_MINOR=171 \ | ||
JAVA_VERSION_BUILD=11 \ | ||
JAVA_URL_HASH=512cd62ec5174c3487ac17c61aaa89e8 | ||
|
||
RUN yum install -y wget && \ | ||
wget -q --no-cookies --no-check-certificate \ | ||
--header 'Cookie:oraclelicense=accept-securebackup-cookie' \ | ||
"http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-b${JAVA_VERSION_BUILD}/${JAVA_URL_HASH}/jre-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.rpm" && \ | ||
yum install -y jre-${JAVA_VERSION_MAJOR}u${JAVA_VERSION_MINOR}-linux-x64.rpm && rm -f jre-*.rpm && yum clean all | ||
|
||
COPY shr/build/distributions/shr-*.noarch.rpm /tmp/shr.rpm | ||
RUN yum install -y /tmp/shr.rpm && rm -f /tmp/shr.rpm && yum clean all | ||
COPY env/docker_shr /etc/default/bdshr | ||
ENTRYPOINT . /etc/default/bdshr && java -Dserver.port=$BDSHR_PORT -DSHR_LOG_LEVEL=$SHR_LOG_LEVEL -jar /opt/bdshr/lib/shr.war | ||
|
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,31 @@ | ||
export MCI_PATIENT_PATH=/api/default/patients | ||
export TR_USER=admin | ||
export TR_PASSWORD=Admin123 | ||
export CASSANDRA_KEYSPACE=freeshr | ||
export CASSANDRA_VERSION=2 | ||
export CQL_VERSION=3.1.1 | ||
export CASSANDRA_HOST=cassandra-seed-server | ||
export CASSANDRA_PORT=9042 | ||
export CASSANDRA_USER=cassandra | ||
export CASSANDRA_PASSWORD=cassandra | ||
export CASSANDRA_TIMEOUT=60000 | ||
export CASSANDRA_MIGRATIONS_PATH=org/freeshr/cassandra/migrations | ||
export REST_POOL_SIZE=20 | ||
export BDSHR_PORT=8082 | ||
export FACILITY_REGISTRY_URL=http://identity-server:8080/facilities/ | ||
export PROVIDER_REGISTRY_URL=http://identity-server:8080/providers/ | ||
export ENCOUNTER_FETCH_LIMIT=20 | ||
export SERVER_CONNECTION_TIMEOUT=10000 | ||
export TR_SERVER_BASE_URL=http://tr-server:9080 | ||
export IDENTITY_SERVER_BASE_URL=http://identity-server:8084/token/ | ||
export SHR_LOG_LEVEL=INFO | ||
export VALIDATION_ZIP_PATH= | ||
export FACILITY_CACHE_TTL_SECONDS=864000 | ||
export IDP_CLIENT_ID=18550 | ||
export IDP_AUTH_TOKEN=c6e6fd3a26313eb250e1019519af33e743808f5bb50428ae5423b8ee278e6fa5 | ||
export SHR_VERSION=v2 | ||
export IS_LATEST_SHR=true | ||
export LOCAL_CACHE_TTL=86400 | ||
export MCI_SERVER_URL=http://mci-server:8081 | ||
export FHIR_DOCUMENT_SCHEMA_VERSION=v3 | ||
export IDENTITY_CACHE_TTL=120 |