Recognition

Posts

3677 Posts
  • Published Answer

    npm prepare on DO App Platform

    👋🏼 @ptrkcsk App Platform runs npm ci for npm versions 5.7.0 and above, and npm install for older versions. Looking throug…
    By kamaln7
  • Published Answer

    Docker Image Cache When using an older ruby 1.9.3

    Hi @manpreetnarang, if you are seeing this error in your App Platform builds, it is because the ruby:1.9.3-p551 image uses a depr…
    By kamaln7
  • Published Answer

    How to run npm in laravel app on app platform

    Hi @andrewpnlp Node and NPM will be installed only if you have the files package.json and package-lock.json in your repo. …
    Accepted Answer: Hi @andrewpnlp Node and NPM will be installed only if you have the files package.json and package-lock.json in your repo. …
    By kamaln7
  • Published Answer

    Laravel App Platform Cron Job

    👋🏼 @SteveEGL Yes, that’s the right solution. You can move the cd core out of the while loop so that it’s only run once: “…
    Accepted Answer: 👋🏼 @SteveEGL Yes, that’s the right solution. You can move the cd core out of the while loop so that it’s only run once: “…
    By kamaln7
  • Published Answer

    Laravel application deployments take ~10 minutes

    👋🏼 We’re aware that some builds can take a long time—we’re actively working to improve build times. After the initial build of y…
    By kamaln7
  • Published Answer

    Subpages of Jekyll-powered static site give 404 on app platform?

    👋🏼 @JaanusK When running bundle exec jekyll build, is /product/product1 generated as product/product1.html? If that i…
    Accepted Answer: 👋🏼 @JaanusK When running bundle exec jekyll build, is /product/product1 generated as product/product1.html? If that i…
    By kamaln7
  • Published Answer

    Gridsome app platform

    👋🏼 @ab2qik1 Yes, Gridsome is supported! All Node.js frameworks/apps can be deployed to App Platform - not only the ones listed …
    By kamaln7
  • Published Answer

    Deploying Node, MongoDB and React App to DO.

    Hi @abidishajia, It’s a bit hard to troubleshoot without additional info but as a first step, make sure your repo contains a `pa…
    By kamaln7
  • Published Answer

    Cloudflare cache invalidation on App Platform

    👋🏼 @nmd.matt App Platform doesn’t support Cache-Tag headers at this time, however, you can make use of Cache-Control header…
    By kamaln7
  • Published Answer

    How to change the PHP version on app platform

    👋🏼 @tntstudio You can configure the PHP version in composer.json like so: { "require": { "php": "^7.2.0" }...
    By kamaln7
  • Published Answer

    Composer 2 on App Platform

    👋🏼 @nmd.matt Composer 2 support should be out very early in January :)
    Accepted Answer: 👋🏼 @nmd.matt Composer 2 support should be out very early in January :)
    By kamaln7
  • Published Answer

    'Apps' always builds Node app with cache node_modules despite changes to package.json

    👋🏼 @JohnFoderaro Looking at your app’s build logs, it seems to be using Yarn instead of NPM to install dependencies. If a `yarn....
    Accepted Answer: 👋🏼 @JohnFoderaro Looking at your app’s build logs, it seems to be using Yarn instead of NPM to install dependencies. If a `yarn....
    By kamaln7
  • Published Answer

    How to choose a named stage in a Docker file to use by App Platform

    Hi @TWith2Sugars! What I’d recommend is splitting your Dockerfiles into two, like so: [label Dockerfile.server...
    By kamaln7
  • Published Answer

    App Platform Dockerfile Multi-Stage build

    👋 @renefx Yes, App Platform supports multi stage-builds. The CMD of the last stage will be used. Let me know if you run into any…
    By kamaln7
  • Published Answer

    My React app is Showing default 404 error page instead of Custom 404 error page, Why?

    👋 @vimalverma To use a custom 404 page, you can generate a file named 404.html at the document root during the build process …
    Accepted Answer: 👋 @vimalverma To use a custom 404 page, you can generate a file named 404.html at the document root during the build process …
    By kamaln7
  • Published Answer

    How can i increase the php upload max filesize in APP Cloud Platform

    Hi @youssefhanna & @denislavgavrilov 👋 PHP applications on App Platform use PHP-FPM in conjunction with Apache (or Nginx if you …
    By kamaln7
  • Published Answer

    How to connect to another droplet from DO App?

    👋 Outbound connections over port 22 are blocked on App Platform. But you should be able to configure your SSH server to listen on a…
    By kamaln7
  • Published Answer

    Is it possible to open two external ports on one app?

    Hi, it’s currently not possible to expose multiple external ports on a Service. If it works with your setup you could use the same …
    Accepted Answer: Hi, it’s currently not possible to expose multiple external ports on a Service. If it works with your setup you could use the same …
    By kamaln7
  • Published Answer

    Running Next.js as web service on DO App Platform

    Hi @ilonews, That’s definitely a valid approach to running a Next.js app! Service components also enjoy the same benefits as Sta…
    Accepted Answer: Hi @ilonews, That’s definitely a valid approach to running a Next.js app! Service components also enjoy the same benefits as Sta…
    By kamaln7
  • Published Answer

    redirecting root domain to www (App platform)

    Hi @encantairaq7, this is a planned feature but it is not available yet. For now you will need to update your app to perform this r…
    By kamaln7