Configure BitSky in Heroku
After you deploy BitSky to Heroku, if you want to change database, what you can do? You can find answer if you continue read.
You can open this link https://dashboard.heroku.com/apps, and select the Munew app you want to change


Click Reveal Config Vars
, add or modify environment variables.

- 1.TYPEORM_CONNECTION: Database connection type. Currently, available values
[sqlite, mongodb]
. - 2.TYPEORM_HOST: Database host. Required when your TYPEORM_CONNECTION isn't sqlite. Example:
munew123.mlab.com
- 3.TYPEORM_DATABASE: Database name. Required when your TYPEORM_CONNECTION isn't sqlite. Example:
munew
- 4.TYPEORM_PORT: Database host port. Example:
27017
- 5.TYPEORM_USERNAME: Database username. Example:
dbuser
- 6.TYPEORM_PASSWORD: Database password. Example:
welcome


Last modified 2yr ago