You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one uses the docker compose in Uwazi, the mongo container needs extra set up steps due to the replica set set-up (which is necessary for transactions introduced in the backend v2). Currently, our solution is to spin up an extra container that uses the mongo shell to perform the necessary steps (introduced in PR #5419).
The task is to research ways to do this better, in a less "hacky" way. Discussed options, as examples:
find a way to have the mongo container do it. This might not be possible.
have a script that does it. It's still manual step, but only one.
have a script that wraps docker compose up, then does the extra steps. The drawback is that the canonical "docker compose up" alone will not work.
This issue was decided on a tech call, and only affects development.
The text was updated successfully, but these errors were encountered:
If one uses the docker compose in Uwazi, the mongo container needs extra set up steps due to the replica set set-up (which is necessary for transactions introduced in the backend v2). Currently, our solution is to spin up an extra container that uses the mongo shell to perform the necessary steps (introduced in PR #5419).
The task is to research ways to do this better, in a less "hacky" way. Discussed options, as examples:
This issue was decided on a tech call, and only affects development.
The text was updated successfully, but these errors were encountered: