I have a rust based web service i’m attempting to deploy via docker. My build currently takes ~40minutes with no layer caching however the app platform build times out after 20. Right now I have to manually run the deployment phase twice and relying on layer caching for the deployment to succeed which is not ideal

It it possible to configure the timeout duration? Or upload to the app platform container registry directly from my CI?

1 comment
  • I am also experiencing similar timeouts.

    Building the image on anything other than the app platform takes about 5-10 minutes.
    Multi-stage Dockerfile also impacting performance.
    Does the app platform work with the DO Container Registry to implement my own caching optimizations?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hey @nisht 👋

We’ve extended the build timeout from 20 to 60 minutes. We may also introduce the ability to configure this in the future, but for now this should help your situation. We also have updates coming soon that will increase performance of builds in general.

The bring-your-own-container feature you mentioned is on our near-term roadmap, so stay tuned for that as well.

Thanks for using the App Platform — happy coding!

Submit an Answer