mirror of
https://github.com/DIGI-UW/HaitiHealthBox.git
synced 2026-10-26 17:35:21 +00:00
OpenELIS
This commit is contained in:
1 parent
f46f5a6273
commit
c29df81fe8
1 file changed
+79
-1
+79
-1
@@ -109,4 +109,82 @@ services:
|
||||
- /data/db
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- hie
|
||||
- hie
|
||||
|
||||
####
|
||||
# OpenELIS
|
||||
####
|
||||
certs:
|
||||
container_name: oe-certs
|
||||
image: ghcr.io/i-tech-uw/certgen:main
|
||||
restart: always
|
||||
environment:
|
||||
- KEYSTORE_PW="kspass"
|
||||
- TRUSTSTORE_PW="tspass"
|
||||
volumes:
|
||||
- cert-volume:/etc/openelis-global
|
||||
|
||||
database:
|
||||
container_name: openelisglobal-database
|
||||
image: postgres:9.5
|
||||
ports:
|
||||
- "15432:5432"
|
||||
restart: always
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=admin
|
||||
- POSTGRES_DB=clinlims
|
||||
- POSTGRES_INITDB_ARGS="--auth-host=md5"
|
||||
volumes:
|
||||
# preserves the database between containers
|
||||
- db-data:/var/lib/postgresql/data
|
||||
# files here will run on install
|
||||
- openelis-db-data:/docker-entrypoint-initdb.d
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-q", "-d", "clinlims", "-U", "clinlims" ]
|
||||
timeout: 45s
|
||||
interval: 10s
|
||||
retries: 10
|
||||
|
||||
oe.openelis.org:
|
||||
container_name: openelisglobal-webapp
|
||||
image: ghcr.io/i-tech-uw/openelis-global-2:develop
|
||||
depends_on:
|
||||
- database
|
||||
ports:
|
||||
- "8095:8080"
|
||||
- "8443:8443"
|
||||
restart: always
|
||||
environment:
|
||||
- TZ=Africa/Nairobi
|
||||
# context.xml doesn't seem to be able to pick up environment variables directly, so we are passing them in as CATALINA_OPTS
|
||||
- CATALINA_OPTS= -Ddatasource.url=jdbc:postgresql://database:5432/clinlims -Ddatasource.username=clinlims -Ddatasource.password=clinlims
|
||||
volumes:
|
||||
- cert-volume:/etc/openelis-global
|
||||
# - openelis-plugins-data:/var/lib/openelis-global/plugins
|
||||
- openelis-server-data:/usr/local/tomcat/conf
|
||||
- openelis-properties-data:/run/secrets
|
||||
|
||||
fhir.openelis.org:
|
||||
container_name: external-fhir-api
|
||||
image: hapiproject/hapi:v5.5.1
|
||||
# ports:
|
||||
# - "8081:8080"
|
||||
# - "8444:8443"
|
||||
restart: always
|
||||
environment:
|
||||
- hapi.fhir.auto_create_placeholder_reference_targets=true
|
||||
- hapi.fhir.allow_placeholder_references=true
|
||||
- hapi.fhir.allow_external_references=true
|
||||
|
||||
fhir.openelis.org.remote:
|
||||
container_name: openelis-remote-source
|
||||
image: hapiproject/hapi:v5.5.1
|
||||
ports:
|
||||
- "8081:8080"
|
||||
# - "8444:8443"
|
||||
restart: always
|
||||
environment:
|
||||
- hapi.fhir.auto_create_placeholder_reference_targets=true
|
||||
- hapi.fhir.allow_placeholder_references=true
|
||||
- hapi.fhir.allow_external_references=true
|
||||
Reference in new issue
Block a user