question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Digitalocean app platform deployment

See original GitHub issue

Hi all!

Does anyone have suggestions/tips about the Digitalocean app platform? (https://www.digitalocean.com/products/app-platform/).

As far as I understand, this is run with Kubernetes in the background. Therefore, I was wondering if I can use shinyproxy there, and if so, what would be the most adequate config.

Thanks in advance! Felipe

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
fmmattionicommented, Feb 25, 2021

Sweet! Thanks a lot for the detailed info! I can confirm that this is working now.

Thank you!

1reaction
LEDfancommented, Feb 25, 2021

Hi @fmmattioni

I forgot to mention that, since our image is using a non-root user, it doesn’t have access to the docker socket by default. You’ll have to run the ShinyProxy docker image using the following command:

docker run  -v /var/run/docker.sock:/var/run/docker.sock:ro --group-add $(getent group docker | cut -d: -f3) -p 8080:8080 openanalytics/shinyproxy

The $(getent group docker | cut -d: -f3) part determines the group-id of docker. The --group-add parameter ensures that the user running inside the ShinyProxy docker container is part of that group (i.e. the docker group) and as a result the ShinyProxy docker container has access to the docker socket.

Also please make sure you don’t have set the proxy.docker.url attribute. Only if you don’t provide it, ShinyProxy will access the docker socket and not some docker HTTP port.

Good luck!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build, Deploy and Scale Apps Quickly - DigitalOcean
Get apps to market faster using App Platform, DigitalOcean's platform to build, deploy and scale apps quickly. Starting at $5/mo.
Read more >
App Platform - DigitalOcean Documentation
Step-by-step instructions for common use cases and third-party software ...
Read more >
How to Manage Deployments in App Platform
Go to https://cloud.digitalocean.com/apps, then click on your app. Click on the ...
Read more >
How To Deploy a React Application to DigitalOcean App ...
You'll build an application with Create React App, push the code to a GitHub repository, then configure the application as a DigitalOcean app....
Read more >
App Platform Pricing | DigitalOcean
Build, deploy, and scale apps quickly using a simple, fully managed solution. We'll handle the infrastructure, app runtimes, and dependencies, so you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found