-
Notifications
You must be signed in to change notification settings - Fork 2k
docker dev and prod template #4936
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Added VESPA_LANGUAGE_OVERRIDE configuration to Docker environments for controlling Vespa's linguistic processing behavior in multilingual deployments.
- Added
VESPA_LANGUAGE_OVERRIDE
option todeployment/docker_compose/env.prod.template
with documentation referencing Vespa's official docs - Added corresponding environment variable to API server configuration in
deployment/docker_compose/docker-compose.dev.yml
for development environments - This change enables forcing specific language handling in Vespa across both production and development deployments
- Configuration follows existing patterns for optional settings by being commented out by default in templates
2 files reviewed, 2 comments
Edit PR Review Bot Settings | Greptile
# If setting the vespa language is required, set this ('en', 'de', etc.). | ||
# See: https://docs.vespa.ai/en/linguistics.html | ||
#VESPA_LANGUAGE_OVERRIDE= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Add example values in the comment to make it clearer. E.g.: '#VESPA_LANGUAGE_OVERRIDE=en # Supported values: en, de, es, fr, etc.'
# If setting the vespa language is required, set this ('en', 'de', etc.). | |
# See: https://docs.vespa.ai/en/linguistics.html | |
#VESPA_LANGUAGE_OVERRIDE= | |
# If setting the vespa language is required, set this ('en', 'de', etc.). | |
# See: https://docs.vespa.ai/en/linguistics.html | |
#VESPA_LANGUAGE_OVERRIDE=en # Supported values: en, de, es, fr, etc. |
# Vespa Language Forcing | ||
# See: https://docs.vespa.ai/en/linguistics.html | ||
- VESPA_LANGUAGE_OVERRIDE=${VESPA_LANGUAGE_OVERRIDE:-} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: consider adding this env var to the background service too since it also interacts with Vespa for indexing operations
* docker dev and prod template * more dev files
* docker dev and prod template * more dev files
Description
Adding Vespa language overwrite to docker files
How Has This Been Tested?
[Describe the tests you ran to verify your changes]
Backporting (check the box to trigger backport action)
Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.