Cant add a database to an existing app

Hi. If I ‘add service - Database’ to my existing app, then it creates a new app named ‘koyeb-db-preview-app’ with the database service under it. I expected the database to be put under my existing app.

Hello,

The control panel does not currently support creating database services inside a given app, they are always created inside the app koyeb-db-preview-app. We’ll change this behavior before the end of the public preview.

In the meantime, you should be able to create a database service within any given app by calling the Koyeb API directly.

Hi!

You can now create a database service within an existing app (through the app’s menu → Add service → Database).

When creating a database service from the “Create Service” button directly, it will create a new app matching the service’s name, which can be changed if needed.

2 Likes