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

add brandeis-specific container images #182

Open
3 tasks
keighrim opened this issue Aug 7, 2023 · 0 comments
Open
3 tasks

add brandeis-specific container images #182

keighrim opened this issue Aug 7, 2023 · 0 comments
Labels
✨N New feature or request
Milestone

Comments

@keighrim
Copy link
Member

keighrim commented Aug 7, 2023

New Feature Summary

Back in June, we added a Brandeis specific file location resolution system that consists of

  1. add support for document.location resolver plugins mmif-python#222
  2. https://github.com/clamsproject/aapb-brandeis-datahousing
  3. https://github.com/clamsproject/mmif-docloc-baapb

But to utilize the new resolver server, app container should install the additional mmif-docloc-baapb plugin.

Also moving forward, I believe there will be more Brandeis-specific MMIF/CLAMS components added to the platform.
Hence, I'd like to make more container images pre-shipped with Brandeis specific components.

Issue will be done when

Related

No response

Alternatives

Until these new images are added to our ghcr, devs can use something like this in debugging process to use the (WIP) resolver server.

podman run \
  --rm \
  --name <some-container-name> \
  -e BAAPB_RESOLVER_ADDRESS=<resolver_server_name>.brandeis.edu:<resolver_server_port> \  # IMPORTANT: let docloc resovler to know where to query
  -p <someport>:5000 \
  -v /mnt:/mnt \ 
  ghcr.io/clamsproject/<appimage-id>:<appimage-ver> \  # OR if you build a new image fro WIP codebase, use that name
  /bin/bash -c 'pip3 install mmif-docloc-baapb && python3 /app/app.py'  # IMPORTANT: swap default cmd with `pip install + app.py` 

### Additional context

_No response_
@keighrim keighrim added the ✨N New feature or request label Aug 7, 2023
@clams-bot clams-bot added this to infra Aug 7, 2023
@github-project-automation github-project-automation bot moved this to Todo in infra Aug 7, 2023
@keighrim keighrim added this to the sdk-m3p4 milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨N New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant