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

This widget could not be displayed.

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 Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

382 views 3 6
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