We need to be able to change the current deployment scripts to deploy to docker-hub. Users should be able to download the sandbox image from docker hub and run docker compose up and pass in environment variables and start the sandbox locally. Windows docker images will not be supported.
Sandbox manager, reference api, reference auth and the front end commits to master are already resulting in docker images being pushed to docker hub. In order to containerize the sandbox so that a local instance can just be downloaded and run, we would need to
Change the images being pushed to docker hub so that they are ready to be downloaded and run locally. We would need to first check why they are being pushed to docker hub. Are these being used currently for some purpose?
We would need an image for the database that can be downloaded.
We would need another image for a local Keycloak server or we would need to take out Keycloak authentication for a local instance.
We would need to make images for other applications like patient picker and patient data manager.
We would need a docker compose script that would bring up all the services.
Tasks and first shot at estimate:
Update pipeline scripts to make docker images usable for local deployment. Images for sandbox manager, reference auth, reference api, user interface, patient data manager, patient picker, ehr simulator and bilirubin risk app. 8 apps - 10 days. Any more apps needed?
Create docker image for keycloak server with local users. 2 days.
Create docker image for database with template sandboxes. 2 days.
Docker compose script to bring the entire local deployment. 3 days.
Unit testing for each image. 2 days.
Integration test. 4 days.
Total 23 person days.
Sent the estimate to the team.