Questions tagged [digital-ocean-apps]

63 questions
1
vote
0 answers

R Plumber API on Digital Ocean: 502 BadGateway

I have (I think) deployed a plumber API on a DigitalOcean droplet. The droplet has R, plumber, and all necessary packages installed (I verified by going into the console). When I used plumberDeploy::do_deploy_api, R uploaded my directory files and…
Ralph Asher
  • 192
  • 9
1
vote
0 answers

How to update Digital Ocean App platform service with new Docker image?

I have a PHP/Laravel app in an Azure DevOps repository that is published as a Docker image. The docker image is built using Azure DevOps pipelines and then ultimately published to a private registry on Digital Ocean. Each published image gets its…
MojoJojo
  • 3,897
  • 4
  • 28
  • 54
1
vote
1 answer

Vapor won't build on DigitalOcean via Docker

I have a Vapor app which I'd like to deploy on DigitalOcean. The Vapor documentation suggests creating a droplet (and then setting up it manually including cloning from GitHub). But I'd like to have DC deploy my project automatically - so I created…
goldwalk
  • 341
  • 1
  • 2
  • 11
1
vote
0 answers

How to properly deploy vue 3 vite project on digitalcean app platform

I have deployed a vue 3 vite project on digitalocean app platform. The build process completes with no error but deployment fails with the error below From the delploy logs, I see that the app is being served on port 5050 But both my run command…
Mena
  • 1,873
  • 6
  • 37
  • 77
1
vote
0 answers

Digital Ocean App build fail saying can't authenticate npm

I'm trying to install Strapi V4 on a Digital Ocean App; I think I have everything set up properly between GitHub and Digital Ocean, but when I try to run a build, I get the following errors: [2022-06-24 00:13:32] => Initializing build [2022-06-24…
Keith Petrillo
  • 125
  • 2
  • 10
1
vote
1 answer

Is there wildcard for HTTP request routes on DigitalOcean App platform

I have a react app I have built and deployed to DigitalOcean App platform. I am wondering if there is a wild card I can use for http request routes. I am able to set paths for subdirectories but I can't figure out how to set up paths for a…
Bryanjl
  • 21
  • 3
1
vote
0 answers

How to remote debug a NodeJS app deployed on DigitalOcean App Platform?

I have a deployed a NodeJS app on Digitalocean's app platform and its exposed on myserver.ondigitalocean.app My intention is to connect it with VSCode on my computer and run the debugger remotely. So far I've managed to tell App Platform to start…
1
vote
1 answer

How to add the current git commit hash as an environment variable in a Digital Ocean app

I have an app on Digital Ocean, and I want to be able to access the current git commit from the app code as an environment variable. From reading this help page, it looks like I should be able to set a variable to ${COMMIT_HASH}, but when I tried…
Tyler
  • 21,762
  • 11
  • 61
  • 90
1
vote
2 answers

How to run a Flask app for App Platform locally in my venv?

I have a simple Flask app that runs on DigitalOcean App Platform with the run command: gunicorn --worker-tmp-dir /dev/shm --config gunicorn_config.py app:app I would like to test this locally in my virtual environment before pushing it to GitHub.…
1
vote
0 answers

How to show DigitalOcean private Spaces temporaryURL on Laravel?

I have successfully generated a temporary link in laravel which works correctly locally but when I try to generate a link via Storage::temporaryUrl for the production environment, it does not work. The error message is this "This driver does not…
1
vote
1 answer

Production tailwind css not displaying correctly on production

So, I noticed some of my tailwind css is not generating properly on production but appearing well on my local any ideas ? I am using, vue + tailwind + laravel + inertia stack. Also I'm not experienced in deploying anything on production, so thus I…
Napmi
  • 521
  • 2
  • 13
  • 32
0
votes
0 answers

Problem deploying vue app on Digitalocean app platform

Every time I do a deploy from github to my application on digital ocean I get the following error. /node_modules/.vite/deps/@iconify_vue.js?v=cfad0217:1 Failed to load resource: the server responded with a status of 504 () Has anyone had a…
0
votes
2 answers

How to limit client IP of a Django app? (Through django and/or PaaS)

I am making a Django app and I wish to enhance the security as well as limit users by making sure only clients only from one IP (say a shared VPN) can access it. I plan to host the app on a PaaS like Digital Ocean App Platform or Heroku. How can I…
NKS
  • 165
  • 1
  • 8
0
votes
0 answers

Spring Boot on Digitalocean App Platform with Docker and gradle

I am trying to run my Spring Boot application on Digitalocean App Platform with docker. I want to configure auto-deployment via github, however, I keep getting the same error. Keep in mind that my Spring Boot app runs locally and in production on…
Javanshir
  • 772
  • 2
  • 7
  • 20
0
votes
1 answer

DigitalOcean: Getting Spaces credentials from an App

On DigitalOcean, I have an App and a Spaces Bucket with files. I need my app to read and write on that bucket, therefore I need to provide it a Spaces Key and a Spaces Secret for my S3 Client. However, I can't find any way to automatically provision…
maxime
  • 1,993
  • 3
  • 28
  • 57