From bc30b17ae4a7baa21515038e27606f4850414506 Mon Sep 17 00:00:00 2001 From: sb-bdonohue Date: Mon, 4 Mar 2024 10:00:02 -0500 Subject: [PATCH] bonnie docker compose --- .gitignore | 1 + docker-compose.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore index ab1cbe8c5..7522bc4a3 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ /coverage-frontend .DS_Store /node_modules +/bonnie-data # Ignore IDE configuration files. .idea diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..0cd61490c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,29 @@ +version: "3" +services: + bonnie: + image: bonnie-qdm +# build: +# context: . + ports: + - "3000:80" + depends_on: + - "bonnie-mongo" + environment: + - SAML_IDP_METADATA=${SAML_IDP_METADATA} + - SAML_SP_ENTITY_ID=${SAML_SP_ENTITY_ID} + - SAML_ASSERTION_CONSUMER_SERVICE_URL=${SAML_ASSERTION_CONSUMER_SERVICE_URL} + - SAML_SP_CERT=${SAML_SP_CERT} + - SAML_SP_KEY=${SAML_SP_KEY} + - BONNIE_PATIENT_CONV_URL=${BONNIE_PATIENT_CONV_URL} + - MONGODB_URI=${MONGODB_URI} + - SECRET_KEY_BASE=${SECRET_KEY_BASE} + - PASSENGER_APP_ENV=${PASSENGER_APP_ENV} + + bonnie-mongo: + image: mongodb/mongodb-community-server:4.4.25-ubuntu2004 + restart: always + container_name: 'bonnie-mongo' + ports: + - "27017:27017" + volumes: + - ./bonnie-data/data:/data/db