Questions tagged [digital-ocean-apps]

63 questions
0
votes
1 answer

digital ocean: load balancer not working for flask app pods

i am trying deploy a simple python flask application in digital ocean Kubernetes cluster using below deployment and service configuration. flask app is using 8080 port while running the code and same is used to expose through load balancer. flask…
0
votes
0 answers

digital ocean build field , how to modify build command?

I am attempting to upload my MERN app, however, I am encountering an error while deploying: sh: 1: react-scripts: not found [2023-06-18 00:10:15] [1] npm run client exited with code 127 [2023-06-18 00:10:15] --> Sending SIGTERM to other…
0
votes
1 answer

Static files not loading on Django deploy on digitalocean app

I am trying to deploy a Django application on DigitalOcean. However, static files are not getting served on the server. I am not sure what the issue is since they work fine locally. The following is my settings file: from…
Ali
  • 7,353
  • 20
  • 103
  • 161
0
votes
0 answers

Issue uploading audio file to laravel from digital ocean app platform

I am getting issues not receiving the audio from the payload in my laravel project. I have a tested the file upload from localhost and it works but when i try it on the digital ocean app platform i get an issue. So here is what i did. Below is my…
peter piop
  • 31
  • 2
0
votes
0 answers

allow certbot validation and github action connection to digitalocean network firewall

I have this digitalocean droplet that I served as staging instance and has network firewall on it. As it is a staging instance I made it work like a private access only by adding our outline vpn ip on http and https port, everything is working…
Juliver Galleto
  • 8,831
  • 27
  • 86
  • 164
0
votes
0 answers

access service from worker instance

I successfully created a worker using this https://docs.digitalocean.com/developer-center/how-to-setup-a-job-scheduler-on-digitalocean-app-platform/, while this is very easy and uses curl as an example, my problem is I need to run php script from…
Juliver Galleto
  • 8,831
  • 27
  • 86
  • 164
0
votes
0 answers

How to preserve the uploaded files when redeploying the app with a different directory structure to DigitalOcean?

My app used to save the uploaded images into public/images folder. Now I've updated the directory structure and images are saved to frontend/public/images. I'm afraid if I rebuild and redeploy the app on DigitalOcean after updating the repo to this…
0
votes
1 answer

Why staticfiles aren't found when DEBUG=False (in production)?

This is django app and I am using DigitalOcean App platform for deploying my app. When I set DJANGO_DEBUG=True (in the enviroment veriables on DigitalOcean) all the static files are found by the server and my app works fine. BUT when I…
0
votes
1 answer

Deploying my rails app logs out all of my users

I'm using digital ocean's app platform to deploy my rails app. The deploy is triggered when I push to Github. I use the Sorcery gem for authentication, and the default session cookie config. Since modern rails seems to reset the session cookie on…
Patrick
  • 136
  • 1
  • 7
0
votes
1 answer

"You need to enable JavaScript to run this app" Error on react app only on production

I have react app and its run well using yarn start on dev and use vite. When I deploy using app service on digitalocean, the deployment result success but when I open my app it just showing white blank page and the log result show "You need to…
Eve
  • 74
  • 1
  • 10
0
votes
1 answer

How can I install React and Python packages on a single DigitalOcean App?

I have a Django project with a ReactJS application (index.html) directly integrated into the Django template system. This is an alternative way of integrating Django and React where you can have shared authentication and have your React app…
0
votes
0 answers

Digital Ocean API - App / Private Git Branch Not Found

I am trying to automate the creation of new app service on the Digital Ocean platform. But i get the following error : data: { id: 'not_found', message: 'Git branch not found' } Using the following…
lancegoh
  • 624
  • 1
  • 6
  • 16
0
votes
0 answers

Is there a response size limit imposed by DigitalOcean App Platform?

I have successfully deployed a Python (FastAPI) API on the Digital Oceans App Platform. There is a POST API endpoint that returns an Excel file as a response. When the file size is 7 KB, it is returning fine. When the file size is 80 KB, a 0 bytes…
Samkit Jain
  • 1,560
  • 2
  • 16
  • 33
0
votes
0 answers

How to make scribe generated css files use the https protocol of the whole website

I decided to use Scribe to make documentation of my api. So i generated the docs folder offline then i pushed it onto app platform. Now when i load the page the page loads but the css files do not use the https protocol for the whole website. I…
0
votes
1 answer

How do you host a site with multiple index on Digital Ocean Apps

I was trying to figure out how to get a training site setup on digital ocean apps. I adjusted the HTTP Request Routes however I could never get my html pages to render. Git -> /static/training01/index.html /static/training02/index.html However when…
SteckDEV
  • 489
  • 4
  • 13