We are deploying the same image to different environments (dev, qa, prod)
We are hosting out nextjs application in azure app service and planning to read azure app settings as configuration
Could not find any help reading azure app settings from nextjs app
You can read azure app settings from nextjs app by following below steps:
First, navigate to the app service in your Azure portal where the app is hosted. Search for Application Settings and add a new setting value.
I created one called PORT.
Now,In your application that you are deploying to the app service, read the value as shown:
var port = process.env.PORT;