New setup
Create the necessary directories and set the appropriate permissions using the following commands You can either connect to an external PostgreSQL database or use a PostgreSQL Docker container as specified below. Option 1: Using Docker compose. If using an external PostgreSQL, skip the db service and configure the database settings…