.env file not being completely read

I’m using a .env file to set my OIDC settings, but they are not getting read in, even when I bring down the stack completely. All other settings (DB, domain, etc.) are being read fine, but the app logs still show me


 RailsPulse: Authentication is enabled but no authentication method is configured. This will deny all access.
[dawarich_app] 2026-03-05T20:26:40.617853028Z OIDC: Not configured (missing OIDC_CLIENT_ID or OIDC_CLIENT_SECRET)

.env file (edited for public) below:

DAWARICH_APP_PORT=3009
TIME_ZONE=America/New_York
APPLICATION_HOSTS=localhost,10.150.88.54,location.MYDOMAIN.com
RAILS_APPLICATION_CONFIG_HOSTS=localhost,10.150.88.54,location.MYDOMAIN.com
SELF_HOSTED=true
DATABASE_NAME=dawarich
POSTGRES_DB=dawarich

OIDC_CLIENT_ID=dawarich
OIDC_CLIENT_SECRET=gibberish
OIDC_ISSUER=https://auth.MYDOMAIN.com/realms/MYREALM
OIDC_REDIRECT_URI=https://location.MYDOMAIN.com/users/auth/openid_connect/callback
OIDC_PROVIDER_NAME="Sign in with Keycloak"
OIDC_AUTO_REGISTER=true
ALLOW_EMAIL_PASSWORD_REGISTRATION=false

How is your docker-compose file looking?

The reason I am asking is if you are importing individual variables, or importing the whole .env as environment variables?