Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's special about port 3838? #2

Open
mccalluc opened this issue Sep 5, 2018 · 0 comments
Open

What's special about port 3838? #2

mccalluc opened this issue Sep 5, 2018 · 0 comments

Comments

@mccalluc
Copy link
Member

mccalluc commented Sep 5, 2018

This patch doesn't work... Is there something else that needs to change for it to talk to port 80?

--- a/context/shiny-server/shiny-server.conf
+++ b/context/shiny-server/shiny-server.conf
@@ -2,7 +2,7 @@ run_as shiny;
 
 server {
   # "listen" needs to match "--publish" target.
-  listen 3838;
+  listen 80;
   location / {
     app_dir /srv/shiny-server/shiny-app/;
     log_dir /var/log/shiny-server;
--- a/docker_run.sh
+++ b/docker_run.sh
@@ -11,6 +11,6 @@ echo $INPUT_JSON
 docker run --env INPUT_JSON \
            --name "$CONTAINER_NAME" \
            --detach \
-           --publish "$PORT:3838" \
+           --publish "$PORT:80" \
            $IMAGE
 echo "Visit http://localhost:$PORT"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant