DEV Community

loading...

Discussion on: Help Thread — DigitalOcean App Platform Hackathon on DEV

Collapse
simkimsia profile image
simkimsia

Question to the DO team:

My #dohackathon app uses Django on Docker and push to DOAP.

Now I am stuck on how to setup a postgres. Typically, I have a separate container for postgres on my local dev env setup.

On DOAP, how should taht be done? your tutorial covers the use of droplet and recommends postgres cluster digitalocean.com/community/tutoria...

Given that this #dohackathon is about using DOAP, how do I use postgres within DOAP?

Thank you

Collapse
bobbyiliev profile image
Bobby Iliev

Hi there,

You can actually add a database component to your App platform directly. There is no need to set up a database server on a separate Droplet.

You can follow the steps on how to add a database component here:

digitalocean.com/docs/app-platform...

Collapse
simkimsia profile image
simkimsia

Ok thanks

Thread Thread
bobbyiliev profile image
Bobby Iliev

No problem! Good luck with this and have fun building! 🙌

Thread Thread
shaijut profile image
Shaiju T

Hi, I can see App Platform has free pan, So Can i deploy Commercial static websites and .NET Core API with 0 $ plan ?

digitalocean.com/products/app-plat...

Thread Thread
bobbyiliev profile image
Bobby Iliev

Hello 👋

The free plan is only for static sites. As you would have an API service, you would need to select the standard plan.