Problem:
2 flaws were introduced by #92 (that should have been detected in review ooops):
the database isn't persistent: the wrong folder is mount
we use a bitnami/mongodb image and according to the documentation the
volume to mount is /bitnami/mongodb not /data/db
the backend can't reach the DB ifDB_PORT != 27017 which kind of destroy the interest of having a config var...
Solution:
I found a solution to both of these problems in the documentation linked above (the right volume to mount and the MONGODB_EXTRA_FLAGS var to declare the right port) and I'll soon open a PR
Additionally the image 4.4 is quite old... we should agree on a newer version, I don't like using latest (but I'll use it if you have good arguments)
@atxr @amtoine
Problem: 2 flaws were introduced by #92 (that should have been detected in review ooops):
bitnami/mongodb
image and according to the documentation the volume to mount is/bitnami/mongodb
not/data/db
DB_PORT != 27017
which kind of destroy the interest of having a config var...Solution: I found a solution to both of these problems in the documentation linked above (the right volume to mount and the
MONGODB_EXTRA_FLAGS
var to declare the right port) and I'll soon open a PRAdditionally the image 4.4 is quite old... we should agree on a newer version, I don't like using
latest
(but I'll use it if you have good arguments) @atxr @amtoine