-
Notifications
You must be signed in to change notification settings - Fork 496
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
add file previewers to dev env, more docs #11181
base: develop
Are you sure you want to change the base?
Conversation
@@ -97,7 +97,8 @@ services: | |||
- DATAVERSE_URL=http://dataverse:8080 | |||
- TIMEOUT=10m | |||
- PREVIEWERS_PROVIDER_URL=http://${MACHINE_IP:-localhost}:9000 |
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.
Should we consider removing this MACHINE_IP stuff from this compose file? We already removed it from the dev version.
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.
I expect that it would make a lot of sense to be able to provide an alternative IP address (or host name) in a production environment. Leaving it in would be a good idea IMHO.
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.
Yeah, I suspect we'll dig into this more when we work on fronting Dataverse with some sort of proxy:
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.
I would recommend to add the --rm option to the docker run command to clean up the container after running. But besides that, this is a perfect addition.
@Kris-LIBIS great idea. I added the rm in 322b3a6. |
What this PR does / why we need it:
Developers like previewers too! Plus, we're adding some docs.
Which issue(s) this PR closes:
Special notes for your reviewer:
The previewers run on port 9080 in the development environment. In the demo/eval environment, they run on 9000 because MinIO isn't running (also on port 9000).
Suggestions on how to test this:
Try both the dev env and the "demo or eval" env.
Both should have all the previewers available.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Sort of? You can see previewers, like this:
Is there a release notes update needed for this change?:
Yes, included.
Additional documentation:
https://dataverse-guide--11181.org.readthedocs.build/en/11181/container/running/demo.html#file-previewers