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

New ENV vars when introducing Kratos to secure the Admin UI #36

Open
JoblersTune opened this issue Apr 17, 2024 · 2 comments
Open

New ENV vars when introducing Kratos to secure the Admin UI #36

JoblersTune opened this issue Apr 17, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@JoblersTune
Copy link

New env variables in the admin containers:

  • LOG_LEVEL: defaults to info
  • NODE_ENV: has no default. It is only used as a check to determine whether the logs should be in pretty print for dev environments.
  • KRATOS_CONTAINER_PULIC_URL: required for frontend package, no default values. This is the public Kratos endpoint in the form for a browser to understand.
  • KRATOS_BROWSER_PUBLIC_URL: required for frontend package, no default values. This is the public Kratos endpoint in the form for the admin container to understand.
  • KRATOS_ADMIN_URL: required to run user invitation script etc, no defaults. This is the admin Kratos endpoint in the form for a container to understand, since the admin endpoint should not be exposed.

New env variables in the kratos containers:

  • PATH_TO_KRATOS_CONFIG: is a Docker build arg to point to the kratos.config file that should be used.
  • DEV_MODE: used in the entrypoint script for running the kratos container to determine whether startup should be in dev mode or not.

See PR interledger/rafiki#2588

@JoblersTune
Copy link
Author

@tadejgolobic SIGNATURE_VERSION (1) and SIGNATURE_SECRET (undefined) have also been added.

@JoblersTune
Copy link
Author

We also need to add in AUTH_ENABLED environment variable for Rafiki Admin. It defaults to true.

@golobitch golobitch removed their assignment Sep 22, 2024
@golobitch golobitch added hacktoberfest good first issue Good for newcomers enhancement New feature or request labels Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants