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 :)



Sorry, thank you =) 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

107 views 2 4
Read article

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