#self hosting next js, cant read env secrets

6 messages · Page 1 of 1 (latest)

quartz pilot
#

Hey, I am trying to host nextjs with dokku. Everything works good, but it seems the enviroment variables set with dokku cant be read. Can they just be read from a file in this case or is there something I need to set up?all_the_things

safe wadiBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

elfin sail
#

How are deploying to Dokku?

nova chasm
#

If it's Docker based then you need to upgrade nextjs

#

But that might break other stuff

quartz pilot
#

I fixed it, needed to rebuild