Where do I type Database user, password and Database name? Edited

Hey everyone! I have a simple (yet hard to resolve) question.

I'm developing an addon for Confluence Cloud and I'm using the atlassian-connect-express JS library to do so. My question regards the config.json file.

In production, where do I specify the username, password and database name for the addon middleware to use?

"production": {
"port": "$PORT",

"localBaseUrl": "https://xxx.xxx.com",

"store": {
// You won't want to use the memory store in production, or your install
// registrations will be forgotten any time your app restarts. Here
"type": "mysql",
// Again, a PaaS host like Heroku will probably provide the db connection
// URL to you through the environment, so we tell atlassian-connect-express to use that value.
"url": "$DATABASE_URL",
}
}


in the example provided, the only values are "type" and "url" to connect to database. Where do I provide username and password to the database?

 

thank you all in advance

 

 - Alexander

1 answer

Perhaps a better place to ask is https://community.developer.atlassian.com :)

 

-Lars

Sorry, thank you =) 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

780 views 33 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you