Skip to content

Commit

Permalink
Add initial config for default recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrichton committed Dec 4, 2023
1 parent 3472b80 commit b6818ca
Show file tree
Hide file tree
Showing 7 changed files with 118 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .env.cluster
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ GF_SERVER_DOMAIN=grafana.domain

# Client Registry - JeMPI
JEMPI_WEB_INSTANCES=3
REACT_APP_JEMPI_BASE_URL=https://jempi-api.domain/JeMPI
REACT_APP_JEMPI_BASE_API_HOST=https://jempi-api.domain
REACT_APP_JEMPI_BASE_API_PORT=50000
JEMPI_SESSION_SECURE=true
JEMPI_REPMGR_PARTNER_NODES=jempi-postgresql-01,jempi-postgresql-02,jempi-postgresql-03
JEMPI_ASYNC_RECEIVER_INSTANCES=1
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openhie/package-base:2.1.3
FROM openhie/package-base:2.1.7

# Install yq
RUN curl -L https://github.com/mikefarah/yq/releases/download/v4.23.1/yq_linux_amd64 -o /usr/bin/yq
Expand Down
22 changes: 22 additions & 0 deletions cdr-dw.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# General
CLUSTERED_MODE=false

# Log
DEBUG=0
BASHLOG_FILE=0
BASHLOG_FILE_PATH=platform.log

# Message Bus - Kafka
# !NOTE: Topics should comma seperated, optional include partion and repliction values
# e.g. <topic>:<partions>:<replicationFactor> -> test:3:2 (defaults to <topics>:3:1)
KAFKA_TOPICS=2xx,2xx-async,errors,reprocess,3xx,patient,observation,JeMPI-audit-trail

# SSO
KC_OPENHIM_SSO_ENABLED=true
OPENHIM_CONSOLE_SHOW_LOGIN=false
# KC_JEMPI_SSO_ENABLED=true
KC_JEMPI_SSO_ENABLED=false
# REACT_APP_JEMPI_BASE_API_PORT=50001
REACT_APP_JEMPI_BASE_API_PORT=50000
KC_SUPERSET_SSO_ENABLED=true
KC_GRAFANA_SSO_ENABLED=true
21 changes: 21 additions & 0 deletions cdr.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# General
CLUSTERED_MODE=false

# Log
DEBUG=0
BASHLOG_FILE=0
BASHLOG_FILE_PATH=platform.log

# Message Bus - Kafka
# !NOTE: Topics should comma seperated, optional include partion and repliction values
# e.g. <topic>:<partions>:<replicationFactor> -> test:3:2 (defaults to <topics>:3:1)
KAFKA_TOPICS=2xx,2xx-async,errors,reprocess,3xx,patient,observation,JeMPI-audit-trail

# SSO
KC_OPENHIM_SSO_ENABLED=true
OPENHIM_CONSOLE_SHOW_LOGIN=false
# KC_JEMPI_SSO_ENABLED=true
KC_JEMPI_SSO_ENABLED=false
# REACT_APP_JEMPI_BASE_API_PORT=50001
REACT_APP_JEMPI_BASE_API_PORT=50000
KC_GRAFANA_SSO_ENABLED=true
52 changes: 50 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
projectName: platform
image: jembi/platform:2.5.0
logPath: /tmp/logs
image: jembi/platform:latest
logPath: /tmp

packages:
- interoperability-layer-openhim
Expand All @@ -23,3 +23,51 @@ packages:
- client-registry-jempi
- identity-access-manager-keycloak
- openhim-mapping-mediator

profiles:
- name: cdr-dw
packages:
- interoperability-layer-openhim
- reverse-proxy-nginx
- fhir-datastore-hapi-fhir
- message-bus-kafka
- job-scheduler-ofelia
- kafka-mapper-consumer
- kafka-unbundler-consumer
- analytics-datastore-clickhouse
- dashboard-visualiser-superset
- monitoring
- mpi-mediator
- client-registry-jempi
- identity-access-manager-keycloak
- openhim-mapping-mediator
envFiles:
- cdr-dw.env

- name: cdr
packages:
- interoperability-layer-openhim
- reverse-proxy-nginx
- fhir-datastore-hapi-fhir
- message-bus-kafka
- job-scheduler-ofelia
- monitoring
- mpi-mediator
- client-registry-jempi
- identity-access-manager-keycloak
- openhim-mapping-mediator
envFiles:
- cdr.env

- name: mpi
packages:
- interoperability-layer-openhim
- reverse-proxy-nginx
- message-bus-kafka
- job-scheduler-ofelia
- monitoring
- client-registry-jempi
- identity-access-manager-keycloak
- openhim-mapping-mediator
envFiles:
- mpi.env
20 changes: 20 additions & 0 deletions mpi.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# General
CLUSTERED_MODE=false

# Log
DEBUG=0
BASHLOG_FILE=0
BASHLOG_FILE_PATH=platform.log

# Message Bus - Kafka
# !NOTE: Topics should comma seperated, optional include partion and repliction values
# e.g. <topic>:<partions>:<replicationFactor> -> test:3:2 (defaults to <topics>:3:1)
KAFKA_TOPICS=2xx,reprocess,3xx

# SSO
KC_OPENHIM_SSO_ENABLED=true
OPENHIM_CONSOLE_SHOW_LOGIN=false
# KC_JEMPI_SSO_ENABLED=true
KC_JEMPI_SSO_ENABLED=false
# REACT_APP_JEMPI_BASE_API_PORT=50001
REACT_APP_JEMPI_BASE_API_PORT=50000
3 changes: 2 additions & 1 deletion purge-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

docker service rm $(docker service ls -q)
docker rm -f $(docker ps -aq)
docker volume prune -f
docker volume prune -af
docker config rm $(docker config ls -q)
docker network prune -f

0 comments on commit b6818ca

Please sign in to comment.