Applications Manager comes bundled with PostgreSQL. If you want to use your own PostgreSQL instead, follow the steps mentioned below:
Note: Make sure that the DB port 5432 is open to ensure that proper connection to the database can be made from Applications Manager server.
am.dbport.check=true with am.dbport.check=falseam.db.port=15432 with am.db.port=<PostgreSQL port> (Example: am.db.port=5432)Replace localhost:5432 with AzurePGSQLServer:<port number>
From this:
url jdbc:postgresql://localhost:5432/amdb?dontTrackOpenResources=true&useUnicode=true&characterEncoding=UTF-8
It should now look like this:
url jdbc:postgresql://AzurePgSQLServer:Port/amdb?dontTrackOpenResources=true&useUnicode=true&characterEncoding=UTF-8
Replace the default username <username> with <username@host>, where username and host is the username and hostname of the Azure PostgreSQL server respectively.
From this:
username postgres AppModules
It should now look like this:
username azurepgsqlUserName@AzurePgSQLServerName AppModules
Replace the keyword encryptedpassword with password <Azure PostgreSQL Password>
From this:
encryptedpassword appmanager
It should now look like this:
password azurepgsqlPassword
Thank you for your feedback!