-
Notifications
You must be signed in to change notification settings - Fork 1
Docker Setup
Benjamin Hatch edited this page May 8, 2023
·
8 revisions
- Open terminal
- Pull frontend image from docker hub by running
docker pull synbiohub/sbh3frontend:snapshotin terminal - Open docker desktop
- Confirm that you see the
synbiohub/sbh3frontendimage in theimagestab:
- Hover mouse over the image and click
Run
- Expand
Optional settingsdropdown BEFORE clicking theRunbutton - In
Optional settings, enter3333in the "Host port" text field - In
Optional settings, add an environment variable with "Variable"backendand "Value"[backend address of SBH w/o ending slash]
- Additionally, you'll need to add an environment variable with "Variable"
backendSSand "Value"[backend address of SBH w/o ending slash]in the same manner as step 8. - Click
Run - Go to the
Containerssection of docker desktop and verify that a container withIMAGE=synbiohub/sbh3frontend:snapshot,STATUS=RunningandPORT(S)=3333exists
- 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.