I'd like to know how to correctly construct the URL that I need to access a Shiny app that I have set running using a Bitbucket pipeline.
I have a repo test_repo
with a test app sitting in ./test/app.R
.
I set this running by specifying in my bitbucket-pipeline.yml
file:
pipelines:
custom:
shiny:
- step:
script:
- R -e "shiny::runApp('test/app.R', port = 3838, host = '0.0.0.0')"
I'm fumbling about a little bit, not sure how to correctly set the host
argument, and how to access the app once it's running.
For example I tried "http://bitbucket.org/{myorg}/test_repo:3838" but that didn't work.
Any pointers on how to set the host and then access it would be really appreciated!