-
Notifications
You must be signed in to change notification settings - Fork 8
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
mongodb docker setup missing #6
Comments
We experimented with Docker as a way to easily deploy software across nodes. It's quite powerful, especially for the webservice IMHO but we don't use this in production at all. When you use Docker for the collection and storing of the quality metrics you will need to consider data persistence throughout container startups and wind downs. And this became more complicated than installing the software outside of the container. That of course is manageable, but it requires knowledge and goes against the philosophy of being easily deployable.. so I don't advise using the Docker images unless you are familiar with Docker. The docker image for MongoDB was using the official one and therefore not included. |
Alright, so the docker setup was just some sandbox experiment, I guess. Thanks for the clarification. |
@megies: We are using a dockerized installation and we plan to do so for production as well. But I agree with @Jollyfant that some more work is required. |
So @petrrr, do you need some help with the Docker installation or is it working? |
Hmm, interesting. I'm still not sure which way to go.. maybe a hybrid approach might make a lot of sense? Any opinions on that? |
Yeah, you need to expose a port and have access to the DB but that is about it. The only issue that needs to be solved is the logging, because by default that is stored inside the container too. |
about data persistence is sufficient use mounted volumes (to mounting host directory in a container); and this it is valid for all stuff (data; log; files; etc..) and you will have all the data outside the containers... |
That would be really nice. The non-docker set up is also a bit hard to follow. I think there should be less focus on custom usage (like with all the examples showing python code fragments, but a stronger emphasis should be on step-by-step instructions for a "default"/"normal use case" set-up. The instructions still have me wondering e.g. in which step the mongo db tables are set up (I'm guessing the tables are set up automatically at some point, but then again there's some more mongo db commands about using some index fields). Btw. @Jollyfant I've sent a registry request for https://dev.knmi.nl/projects/eida/wiki/WFCatalog as I'm involved with the set up at LMU. You're still at KNMI, right? It would be awesome if you maybe can check if my request can be approved or declined. |
@megies - MongoDB is schemaless so you don't set up tables. You just need to make sure it is installed and running, then configure the Collector to connect to the host:port where it is running. I've requested to approve your registry with the IT dept. |
Thanks @Jollyfant! Both for clarification on mongoDB and the KNMI wiki registry.. 🚀 |
@Jollyfant, any reason why the MongoDB dockerfile / docker setup is not included here?
What's your experiences with using the docker setup for WFCatalog in general? Is it advisable?
The text was updated successfully, but these errors were encountered: