Next.js Discord

Discord Forum

TOML Files and Next.js

Unanswered
Asian paper wasp posted this in #help-forum
Open in Discord
Asian paper waspOP
While in dev, we used .env files to keep track of our ENV variables. Now that the app is done, we've setup docker and TOML files. We've also deployed it to a staging server.

When I test the docker instance locally, the TOML files work.
When we test the docker instance on the staging server, the ENV variables come back as undefined.

What is happening here?

2 Replies

Asian paper waspOP
No one? Sweet.
Asian paper waspOP
Any ideas out there? Pretty critical element on my end.