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

ocrd-network: optional deploy mongodb and queue #1048

Merged
merged 39 commits into from
Jun 21, 2023

Conversation

joschrew
Copy link
Contributor

@joschrew joschrew commented May 10, 2023

Just a draft for now for easier usage.

This is an extensions to 1030.

With this mongoDB and rabbitMQ can be skipped with the deployer to allow self management of this two parts/containers.
For the deployment on the VM I want to change to self managed queue and database so I need this therefore.

stweil and others added 18 commits March 15, 2023 20:34
python3-pip can now be removed, and running pip instead of pip3 is sufficient.

This also avoids the installation of python3-setuptools and python3-wheel
(requirements of python3-pip).

Signed-off-by: Stefan Weil <[email protected]>
Previously mongodb credentials from config were accidentially ignored
and it was always deployed without credentials
@bertsky
Copy link
Collaborator

bertsky commented May 10, 2023

This is an extensions to 1030.

please rebase onto #1030:

git fetch origin
git rebase origin/processor-server
git push -f

@joschrew
Copy link
Contributor Author

This is an extensions to 1030.

please rebase onto #1030:

git fetch origin
git rebase origin/processor-server
git push -f

-> Current branch ocrd-network-optional-deploy is up to date. I think it is up to date or I'm missing something.

@MehmedGIT
Copy link
Contributor

He means to rebase to #1030, not the master branch. So it's easier to see what has been changed on top of #1030.

@joschrew
Copy link
Contributor Author

joschrew commented May 10, 2023

How to do that?

Edit: found it and changed the base of this PR (via github gui). Hopefully this is what was meant because i didn't rebase anything for that.

@joschrew joschrew changed the base branch from master to processor-server May 10, 2023 11:48
@MehmedGIT MehmedGIT self-requested a review May 15, 2023 09:03
Copy link
Contributor

@MehmedGIT MehmedGIT left a comment

Choose a reason for hiding this comment

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

Looks good to me and can be merged.

ocrd_network/ocrd_network/deployment_utils.py Outdated Show resolved Hide resolved
ocrd_network/ocrd_network/deployment_utils.py Outdated Show resolved Hide resolved
@kba kba marked this pull request as ready for review May 15, 2023 13:16
- extra Dockerfile.cuda instead of guessing from base image name
- re-use non-CUDA ocrd/core instead of nvidia/cuda base image
- install CUDA toolkit and libraries via (micro)mamba
  instead of nvidia-pyindex CUDA libraries made available system-wide
- get cuDNN and CUDA libs from conda-forge and nvidia channels
@kba kba merged commit 84ad16e into processor-server Jun 21, 2023
@kba kba deleted the ocrd-network-optional-deploy branch June 21, 2023 11:58
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.

5 participants