Recognition

Posts

9 Posts
  • Published Question

    Why Managed Database can't have App Platform as Trusted Source ?

    Hello, I'm looking to restrict the access of my Managed Database to only App Platform but it appears that we can't actually, or I am missing something ? This is a very high security issue ! Thanks,
    2 By scorsi DigitalOcean App Platform DigitalOcean Managed PostgreSQL Database
  • Published Answer

    not - connected { Error: self signed certificate in certificate chain while connecting to postgres

    With TypeORM I have to set the options to: { // other settings ssl: { rejectUnauthorized: false } } …
    By scorsi
  • Published Question

    Is there a way to know why a job is failing ?

    I just have this from a job which is continuously failing: Missing dependencies, incompatible versions, incorrect environment variables or app bugs. Yeah, that's great but why ? I don't have anything more and I can't ...
    1 By scorsi DigitalOcean App Platform
  • Published Question

    Build static sites outside DOAP pipeline and host them inside DOAP

    Hello, I would like to know if we can build a Angular app outside DOAP but let DOAP manage and host it. Do you have clues on how to manage that ? Can we build the app, push it on, let's say, Digital Ocean Spaces and l...
    Accepted Answer: 👋🏼 @scorsi You can achieve that by doing the following: Create a dedicated git repo for the built website e.g. angular-prod. This repo will only contain the live production build of your site—i.e. with the index.html...
    1 By scorsi DigitalOcean App Platform
  • Published Question

    How to monitor AppPlatform with Prometheus/Loki/Tempo/Grafana ?

    Hello, We would like to monitor our micro-service application which runs on DOAP with Grafana Labs tools: - Prometheus: metrics - Loki+Promtail: logs - Tempo: traces - Grafana: dashboard (uses the three other tool...
    1 By scorsi DigitalOcean App Platform Monitoring
  • Published Answer

    Are managed databases "dedicated"?

    This is a really interesting question ! I’m quite sure they use Droplets under the hood, but shared or dedicated ? :) Looking at t…
    By scorsi
  • Published Question

    Can we deploy SOA/Microservices Architecture to App Platform ?

    Hello, I was wondering if we could deploy multiple microservices as "workers" and one API-gateway as "service". - Did my API-gateway can communicate to my microservices through TCP/HTTP protocol if they are "workers"...
    Accepted Answer: Hello, "internal services" are possible using internal_ports (https://www.digitalocean.com/docs/app-platform/references/app-specification-reference/) property in the app spec and without http_port property. name: sam...
    2 By scorsi DigitalOcean App Platform
  • Published Question

    Use output_dir in App Plateform

    Hello, I have Nx workspace which build my Angular app inside dist/apps/{app_name}. Even if I use output_dir option inside my app spec yaml file (seen in the doc (https://www.digitalocean.com/docs/app-platform/referenc...
    Accepted Answer: Hi @scorsi The output_dir option will take priority over the default behavior of checking for a few known directory names (_static, public, dist, build). It sounds like the output_dir option isn't being set. If you e...
    1 By scorsi DigitalOcean App Platform
  • Published Question

    Better App Platform integration with NX monorepo

    Hello, There's two feature I would like to see in App Platform. To resume it's a good integration with NX workspace/monorepo (https://nx.dev/). Fetch only once npm dependencies for all components in a monorepo. I'm us...
    Accepted Answer: Hi @scorsi, thank you for the feedback! I have logged it in our internal feature tracker. For the second suggestion, how would you want to select which components to rebuild?
    1 By scorsi DigitalOcean App Platform