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

Update packages & setup docker-compose to allow override.env file #239

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

chouinar
Copy link
Contributor

Ticket

Changes

Updated Python packages

Add support for an override.env file

Context for reviewers

These python package updates mirror similar ones we've done already on Simpler Grants.gov, so not concerned with any of them.

The override.env file uses something added to Docker in January 2024: https://docs.docker.com/reference/compose-file/services/#required - in short, you can specify multiple .env files and have some be optional. This way we can always say to look for override.env, but not require it, and allow a user to write whatever they want to it without checking it in.

Testing

Locally I was able to create override.env, it not be added to git, and the overrides worked (changed LOG_FORMAT to json and back).

app/.gitignore Show resolved Hide resolved
docs/app/README.md Outdated Show resolved Hide resolved
docs/app/README.md Outdated Show resolved Hide resolved
Co-authored-by: Kevin Boyer <[email protected]>
@chouinar chouinar merged commit f715d8d into main Dec 11, 2024
4 checks passed
@chouinar chouinar deleted the chouinar/override-env branch December 11, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants