MongoDb from spec file failed to build

First, I was trying to deploy my app (docker container + mongodb) in DigitalOcean using spec file with service+database, but every deployment fails with the following error (app image is not even started to build):

Error: Database Not Found Component Issues db failed to build

And I’m even unable to see build error - I see the “Looks like something went wrong…” page.

Now, to have a shorter spec, I’m trying to deploy an app consisting only from the Mongodb instance, and the result is the same. My spec file:

name: db-debug
region: fra

  - engine: MONGODB
    name: db
    cluster_name: cluster
    num_nodes: 3
    production: true

First I have struggled with doctl since DO is not accepting version for mongodb and allows only “prod” deployment type, now this issue. Am I doing something wrong?

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer