-
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:snapshot
in terminal - Open docker desktop
- Confirm that you see the
synbiohub/sbh3frontend
image in theimages
tab:
- Hover mouse over the image and click
Run
- Expand
Optional settings
dropdown BEFORE clicking theRun
button - In
Optional settings
, enter3333
in the "Host port" text field - In
Optional settings
, add an environment variable with "Variable"backend
and "Value"[backend address of SBH w/o ending slash]
- 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. - Click
Run
- Go to the
Containers
section of docker desktop and verify that a container withIMAGE
=synbiohub/sbh3frontend:snapshot
,STATUS
=Running
andPORT(S)
=3333
exists
- 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.