Hi all, I've been working to containerize my first Umbraco site(and first real container in general) and its been going super good so far. However, when I locally run my application with the environment variables as following:
it works.
However, in my container I get a 'login failed for user xxx'. The environment variables should be exactly the same. Anyone has experience with this?
ivodepivo
03/09/2025, 7:59 PM
My host is Windows, and my containers are run in WSL, and in production on linux. Does this have anything to do with case sensitivity maybe?
ivodepivo
03/09/2025, 8:02 PM
Nope, casing didn't change it
ivodepivo
03/09/2025, 8:46 PM
Okay this was a nasty one. My connection string password contains all kinds of characters. Environment variables in docker are read and replacement can happen in strings if they are DOUBLE quoted. Not single quoted.