Deploying Leaf on Docker #388
-
|
I am working on deploying Leaf on Docker on my laptop. Are the files on the docker-new branch that refer to Docker but were last updated in 2019 still current? They are: Thanks Mount Sinai |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
|
Hi @artgoldberg thanks for your question. The docker-new branch is still a work in progress but fortunately you only should need to work with a single file, containerize-leaf.sh, which is designed to automatically deploy the Leaf API along with a test SQL Server container with dummy data (which you can subsequently replace). As an aside, we are not using To run Leaf using that script:
|
Beta Was this translation helpful? Give feedback.
-
|
HI @ndobb I trying to deploy Leaf on Azure containers i see the code under master branch is latest? Also need some inputs before i run https://github.com/uwrit/leaf/blob/master/containerize_leaf.sh what are all the prerequisites that i need to follow. Also need some input which is the best way to setup leaf application on Azure
|
Beta Was this translation helpful? Give feedback.
Hi @artgoldberg thanks for your question. The docker-new branch is still a work in progress but fortunately you only should need to work with a single file, containerize-leaf.sh, which is designed to automatically deploy the Leaf API along with a test SQL Server container with dummy data (which you can subsequently replace).
As an aside, we are not using
docker-composebecause recent versions of the SQL Server image are preventing the loading of data in SQL scripts during the docker build process, and we have not been able to find a proper workaround. Thecontainerize-leaf.shscript accomplishes the same thing but with shell commands.To run Leaf using that script:
git clonethe Leaf repo