DISABLE_LOGIN and CLOUD_MODE not respected?
Describe the Bug
I tried both:
DISABLE_LOGIN=1
and
CLOUD_MODE=1
individually, and together, and they don't seem to have any effect.
I am running Umami in docker (using docker compose), and I put docker down and up after making changes, but to no effect.
I looked at issues #3142 and 1699.
Database
PostgreSQL
Relevant log output
Which Umami version are you using? (if relevant)
latest
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Docker
Seems to not work only in Docker. Will fix.
Thanks!
@mikecao any news on that topic? Otherwise I could give it a try.
@MVPotat0 The issue is Docker inlines the environment variable at build time when it should be evaluating at runtime. We need to force those pages to be dynamic. See https://nextjs.org/docs/app/api-reference/file-conventions/route-segment-config