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

Alexander Sopov August 9, 2017

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

1 vote
Lars Olav Velle
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2017

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

 

-Lars

Alexander Sopov August 10, 2017

Sorry, thank you =) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events