Hi,
Thanks for the response.
I have only one container (app), in VM where Discourse is installed. I have database in separate VM (PostgreSQL installed in this VM and also database created in it).
I have mentioned the database details in /var/discourse/containers/app.yml as like below:
DISCOURSE_DB_SOCKET: ' '
DISCOURSE_DB_USERNAME: 'name'
DISCOURSE_DB_PASSWORD: 'pwd'
DISCOURSE_DB_HOST: 'database host name'
DISCOURSE_DB_PORT: '5440'
DISCOURSE_DB_NAME: 'database name'