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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

981 views 14 12
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