I am building a production server and setting configuration with environment variables and they do not seem to be configuring the server. I am a little confused and debugging it. Has anyone else noticed these problems?
for example I am setting the PORT environment variable and compiling src/start_server.cr on linux. The executable seems to always have the port 5000 unless I hardcode the src/server.cr file. This is very confusing and I have spent a fair bit of time debugging this.
I am building a production server and setting configuration with environment variables and they do not seem to be configuring the server. I am a little confused and debugging it. Has anyone else noticed these problems?
for example I am setting the
PORT
environment variable and compilingsrc/start_server.cr
on linux. The executable seems to always have the port5000
unless I hardcode thesrc/server.cr
file. This is very confusing and I have spent a fair bit of time debugging this.