Questions tagged [digital-ocean-apps]
63 questions
5
votes
0 answers
How to ssh into Digital Ocean's App Platform app?
We're using digital ocean's cli tool doctl, and would like to ssh into our instances using the same cli tool. We're able to list apps using:
doctl apps list
but cant ssh into apps. Is it even supported by the CLI as of now?

Talha Meh
- 487
- 7
- 20
4
votes
0 answers
How can I dynamically deploy a branch as digitalocean app?
Using a simple gitlab-ci I deploy my python script to digital ocean. The script part from the ci file looks like this:
/app/doctl apps create --spec my-app.yml
The Yaml file contains the information to create the app, and it has the branchname in…

Nanne
- 64,065
- 16
- 119
- 163
4
votes
0 answers
Axios and NextJS + Sanctum cookie: it's discarding baseURL and call wrong domain route
I have an API built with Laravel and Sanctum.
Front-end is built in NextJS. CORS and communication is doing fine - apparently, I can't see errors even with POST requests.
Login goes fine, Laravel sets a cookie for .mydomain.com, path "/", and it's…

ppalmeida
- 2,924
- 5
- 20
- 25
4
votes
1 answer
failed to load /usr/bin/dotnet: exec format error
I'm trying to use DigitalOcean to host a C# docker container on docker hub (With the Apps platform)
[2021-12-08 23:24:04] starting container: starting non-root container [dotnet Alace.cs.dll]: creating process: failed to load /usr/bin/dotnet: exec…

Alyx
- 436
- 4
- 16
3
votes
2 answers
Problem when trying to create a digital ocean app from gitlab source
I am trying to create an app in digital ocean using source code from gitlab and I get the error "no detected components".
Any ideas?

Lampros Tampourlos
- 68
- 1
- 8
3
votes
0 answers
DigitalOcean App (Laravel) is Not Connecting to Managed MySQL database, times out
I have a rather large Laravel 8 Project I am moving from Digital Ocean Droplet into Apps.
I specified all DB_* environmental App-Level Environment Variables exactly like they are in my prod .env
I have added that Database as resource in my App…

TrueStory
- 439
- 5
- 17
3
votes
0 answers
Unable to make backround tasks run using FastAPI - 504: Gateway Timeout Error
I am using FastAPI to perform predictions on a ML model. Because a single prediction is taking more than 2 minutes I have made the prediction to run as a background task using FastAPI's BackgroundTasks. Now, when I deployed to digital ocean I was…
user16668992
3
votes
1 answer
How to disable CORS policy in DigitalOcean App platform and allow acces from any address?
I have a python web app running on DigitalOcean App platform, perfectly working with Postman. However, when I'm trying to make requests from my localhost or website, thay all are blocked by CORS with this message: Response to preflight request…

turing
- 137
- 1
- 7
2
votes
1 answer
How to properly deploy laravel nova on digitalocean apps
I want to deploy a laravel API application that is using nova as a backend on digitalocean app platform. So I have added all environment variables as App-Level Environment Variables in app settings including NOVA_USERNAME set to my nova emaill and…

Mena
- 1,873
- 6
- 37
- 77
2
votes
0 answers
How to resolve 'autoReload feature is required to use this plugin' issue
can you help resolve this - I can’t add anything via strapi dashboard. I get “autoReload feature is required to use this plugin. Start your server with strapi develop” Thing is that I started the server with strapi develop
What I have done to…

Xhris
- 55
- 7
2
votes
1 answer
How to deploy Celery worker on DigitalOcean App Platform
I am trying to add celery + redis to my django app hosted on DO App Platform. I understand there is an issue I need to work around that is documented…

cormac
- 21
- 3
2
votes
1 answer
Where to save and read credential file for the DigitalOcean App Platform?
I created docker backend application that uses Firebase Admin SDK - https://firebase.google.com/docs/admin/setup#node.js_2.
At the startup, the application reads JSON file from somewhere.
FirebaseApp.Create(new AppOptions()
{
Credential =…

AntonIva
- 597
- 1
- 6
- 22
1
vote
0 answers
How to get my php code to read my styling in Digital Ocean app platform
I just upload my site https://watson-applications-hossp.ondigitalocean.app/ to digital ocean. For some reason, my styling is not syncing up, but my images are showing up.
My index.php, which is in my root:

Watson
- 59
- 1
- 1
- 4
1
vote
1 answer
Laravel deployed with DigitalOcean App - HTTP issue
I deployed a Laravel 9 app (with Jetstream/Livewire) to DigitalOcean using their "App" service from GitHub. Deployment was smooth and CI/CD works fine.
When viewing the application in the browser, I noticed that the assets (CSS and JS) are being…

Aydin4ik
- 1,782
- 1
- 14
- 19
1
vote
1 answer
Create react app deployment in digital ocean - App stuck at 'starting development server'
I recently hosted my app on the Digital ocean App platform. I connected my git hub page, and the build succeeded.
But when I open a site, it throws me an error.
Live page error
It responds with 504 error
When I checked the logs App platform, it was…

Arjun Vaidy
- 11
- 2