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

📝 [open-zaak/open-zaak#1649] Document envvars #174

Merged
merged 3 commits into from
Aug 23, 2024

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Jul 23, 2024

Fixes open-zaak/open-zaak#1649 partially

Changes

  • Document the envvars
  • Add CI job to check if envvar docs were updated

Comment on lines -31 to -38
**Docker**

Additionally, the following optional envvars MUST be set/changed when running
on Docker, since ``localhost`` is contained within the container:

* ``CACHE_DEFAULT``
* ``CACHE_AXES``
* ``EMAIL_HOST``
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should probably look into a way to restore this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added these variables to the required group and explained that they are required for docker in the help text: maykinmedia/open-api-framework#62

@stevenbal stevenbal marked this pull request as draft July 23, 2024 14:32
@stevenbal stevenbal force-pushed the feature/envvar-documentation branch 4 times, most recently from eabfc87 to 341c947 Compare August 22, 2024 13:05
replace the manual envvar docs with OAf `generate_envvar_docs`, this ensure that generic envvars that are used by every component are documented centrally in OAF and custom envvars can be documented in the code where they are declared
@stevenbal stevenbal marked this pull request as ready for review August 23, 2024 10:29
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.

Automatically generate documentation from environment variables
2 participants