Problem
The current dotenv configuration in components/log-viewer-webui/server/src/fastify-v2/plugins/external/env.ts does not include the override: true flag. According to the dotenv documentation, without this flag, when the same environment variable is defined in both .env and .env.local, the value from .env.local will not override the one from .env.
Current Configuration
dotenv: {
path: [
".env",
".env.local",
],
},
Proposed Solution
dotenv: {
path: [
".env",
".env.local",
],
override: true,
},
References
Problem
The current dotenv configuration in
components/log-viewer-webui/server/src/fastify-v2/plugins/external/env.tsdoes not include theoverride: trueflag. According to the dotenv documentation, without this flag, when the same environment variable is defined in both.envand.env.local, the value from.env.localwill not override the one from.env.Current Configuration
Proposed Solution
References