DO App Plaform - Docker and Env variables
I built a docker container with a NextJS app, using nginx as reverse proxy as we need it for advanced setups like proxy pass, etc.
It gets data from a headless CMS. It works fine locally.
However, when building it on DO App Platform, it’s fails cause it doesn’t detect the Environment Variables, even though I’ve set it up in the application container settings.
Is there a specific way I need to deploy it to take the Env Vars into account?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×