Valentin Lab
53a1b91a62
new: [mongo] add ``README.org`` with some help
1 year ago
Valentin Lab
35f3643b48
new: [mongo] provide ``upgrade`` action
1 year ago
Valentin Lab
1512b1f7f3
new: [mongo] provide ``upstream-versions`` hook
1 year ago
Valentin Lab
5069c28ff5
fix: [mongo] exit script on failure of some sub command
1 year ago
Valentin Lab
fd948f779c
chg: [mongo] move initiatlisation code to ``init`` out of ``mongo_database-relation-joined``
1 year ago
Valentin Lab
482e4b55e2
fix: [mongo] use host datastore if available
1 year ago
Valentin Lab
433f58631b
new: [mongo] make ``mongosh`` use ``ensure_db_docker_running`` instead of failing if no containers are up
1 year ago
Valentin Lab
e5106a92e3
new: [mongo] offer ``mongosh`` indirect action through ``mongo-database`` relation
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
b5c4f6de37
fix: [mongo] use running mongo container with more accuray
Check the exact mount point whereas checking a parent dir allow
us to simplify the implementation of ``is_volume_used``. The new
implementation to be included in next version of compose is also
more solid (it doesn't rely on ``docker inspect`` that can stall
execution of the script if a container is stalled).
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
e148ac5787
new: [mongo] allow upgrading by maintaining compatibility version at current version.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
949d15a0e9
fix: [mongo] make charm compatible with mongo versions >= ``4.2``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
bd07ed13b1
new: [bitwarden,mongo,nextcloud,rocketchat] added backup relation
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
0b157b92c7
new: [mongo] added regular dump for backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
db4deb4fc4
fix: [mongo] direct install didn't work anymore.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
d6d56fc841
chg: dev: [mongo] more verbose information !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
5d49f15475
fix: dev: [rocketchat,mongo] do not use ``$PROJECT_NAME`` in mongo database url.
Indeed, when changing project name, ``rocketchat`` would create a new
database and would not be able to use previous database.
``mongo`` side is here to ensure proper update of existing installation
that would use previous naming scheme.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
55de9c1909
fix: [mongo,odoo-tecnativa,mattermost,peertube,synapse,rocketchat,redis] avoid using ``find``'s ``-exec`` option as it fails
With large compose, shell environment is too big to be handled correctly
by ``find``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
4b9097564b
new: [mongo] new charm
5 years ago