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

Deploy-time configuration #425

Open
mfisher87 opened this issue Jan 9, 2024 · 0 comments
Open

Deploy-time configuration #425

mfisher87 opened this issue Jan 9, 2024 · 0 comments

Comments

@mfisher87
Copy link
Collaborator

mfisher87 commented Jan 9, 2024

Issue #421 got me thinking about this a little bit. It's a common use case to want to deploy the same app in multiple environments, but in one environment, talk to UAT or SIT. I think we should support this by allowing users to set an envvar, e.g. EARTHACCESS_EDL_ENV or EARTHACCESS_EDL_HOSTNAME that will override earthaccess' selected earthdata AUTH_HOST (currently always production unless you monkeypatch, but will be configurable after a new feature @danielfromearth is working on)

AUTH_HOST = "urs.earthdata.nasa.gov"

Are there other things about earthaccess that we would want to configure/override at deploy-time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant