Skip to content

Configure Docker to use run-time instead of build-time env vars #23

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

Open
s1monj opened this issue Nov 23, 2024 · 0 comments
Open

Configure Docker to use run-time instead of build-time env vars #23

s1monj opened this issue Nov 23, 2024 · 0 comments
Labels
backend Python and SQL code enhancement New feature or request

Comments

@s1monj
Copy link
Collaborator

s1monj commented Nov 23, 2024

The following environment variables need to be defined when building the container image:

SITE_URL (e.g. "http://localhost:8000/")
OIDC_CLIENT_AUTHORITY_PATH (e.g. "/o/")
OIDC_CLIENT_REDIRECT_URI_PATH (e.g. "/auth/callback")
otherwise the container will fail to build. Can, or should, the variables be moved to run-time variables so that the container image can be built without them?

See #22 from @ryanlovett

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Python and SQL code enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant