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

Demo UI add env vars & other small fixes #1828

Merged
merged 16 commits into from
Nov 30, 2021
Merged

Demo UI add env vars & other small fixes #1828

merged 16 commits into from
Nov 30, 2021

Conversation

ZanSara
Copy link
Contributor

@ZanSara ZanSara commented Nov 30, 2021

  • Add the possibility to set more value through env vars
  • Add some more questions for the Random Questions list (tested)
  • Refine some error messages and add logs
  • Align docker-compose.yml and docker-compose-gpu.yml on the exposed env vars and fix a few typos

@ZanSara ZanSara marked this pull request as ready for review November 30, 2021 12:43
@ZanSara ZanSara requested a review from tholor November 30, 2021 12:44
Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

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

LGTM. Feel free to merge after addressing the comment below

@@ -52,5 +52,8 @@ services:
environment:
- API_ENDPOINT=http://haystack-api:8000
- EVAL_FILE=eval_labels_example.csv
- HAYSTACK_UI_DISABLE_FILE_UPLOAD # docker-compose run -e HAYSTACK_UI_DISABLE_FILE_UPLOAD=1 ...
- DISABLE_FILE_UPLOAD # DISABLE_FILE_UPLOAD=1 docker-compose up
Copy link
Member

Choose a reason for hiding this comment

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

don't get the comment here 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Is docker-compose in this example taking the value for the env variable from the host machine? If yes, let's clarify this in a comment for all the next variables

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah looking at it now it is way more cryptic than it should 😄

@ZanSara ZanSara merged commit 935689e into master Nov 30, 2021
@ZanSara ZanSara deleted the demo_ui_add_env_vars branch November 30, 2021 17:11
@tholor tholor added the topic:ui label Dec 2, 2021
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.

None yet

2 participants