Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Environment variables #106

Open
Datron opened this issue Jun 13, 2024 · 1 comment
Open

Simplify Environment variables #106

Datron opened this issue Jun 13, 2024 · 1 comment
Assignees
Labels
priority Things that need immediate attention tech-debt

Comments

@Datron
Copy link
Collaborator

Datron commented Jun 13, 2024

The goal is to reduce the number of envs and better manage them. This includes refactoring code that reads envs.
Some examples
* CAC_HOST → SUPERPOSITION_HOST
* ENABLE_TENANT_AND_SCOPE → ENABLE_MULTI_TENANCY
* CONTEXT_AWARE_CONFIG_VERSION → SUPERPOSITION_VERSION
* MJOS_ALLOWED_ORIGINS → ALLOWED_ORIGINS
* (Not sure about what to do with this, DATABASE_URL contains all the info
* DATABASE_URL
* DB_USER
* DB_HOST
* DB_NAME

@Datron Datron added the priority Things that need immediate attention label Jun 13, 2024
@ShubhranshuSanjeev
Copy link
Collaborator

Remove ENABLE_TENANT_AND_SCOPE env, and also remove its usage in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority Things that need immediate attention tech-debt
Projects
None yet
Development

No branches or pull requests

2 participants