Skip to content

Docker Setup

Benjamin Hatch edited this page May 8, 2023 · 8 revisions

Prerequisites - Install following software:

Installation steps:

  1. Open terminal
  2. Pull frontend image from docker hub by running docker pull synbiohub/sbh3frontend:snapshot in terminal
  3. Open docker desktop
  4. Confirm that you see the synbiohub/sbh3frontend image in the images tab:

    Docker images

  5. Hover mouse over the image and click Run

    Run image

  6. Expand Optional settings dropdown BEFORE clicking the Run button
  7. In Optional settings, enter 3333 in the "Host port" text field
  8. In Optional settings, add an environment variable with "Variable" backend and "Value" [backend address of SBH w/o ending slash]



  9. Additionally, you'll need to add an environment variable with "Variable" backendSS and "Value" [backend address of SBH w/o ending slash] in the same manner as step 8.
  10. Click Run
  11. Go to the Containers section of docker desktop and verify that a container with IMAGE = synbiohub/sbh3frontend:snapshot, STATUS = Running and PORT(S) = 3333 exists

    Container running (second container)

  12. Open http://localhost:3333 with your browser to see the frontend up and running :)

Note: For easier setup, these instructions are catered towards users of Docker desktop, which is normally installed along with Docker. Docker desktop is not necessary to run SBH3's frontend with Docker. All of the actions above that involve Docker desktop have corresponding Docker commands that can be executed in the terminal.

Clone this wiki locally