Skip to content

Deploying Leaf on Docker #388

Answered by ndobb
artgoldberg asked this question in Q&A
Mar 19, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

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-compose because 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. The containerize-leaf.sh script accomplishes the same thing but with shell commands.

To run Leaf using that script:

  1. git clone the Leaf repo

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@artgoldberg
Comment options

@ndobb
Comment options

@artgoldberg
Comment options

@mh2727
Comment options

@artgoldberg
Comment options

Answer selected by ndobb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants