Comments (9)
I've had the capability in my own chart for this. However, I'd discourage it for two reasons
#1 The bitnami chart is not that great to work with, it leaks memory all the time, and no, setting wiredtigercachesizegb doesn't seem to help
#2 The official mongo image doesn't work on armv7, while unifi does. This creates a problem where people on older SBCs (Pi3B) might not be able to use the chart. I understand that might not be a big userbase, but i'd still be wary. Even armv8 is kinda spotty on anything different than pi4 (fails miserably on odroid c4/n2) - I was specifically in contact with jacobalberty about this issue when he started doing multiarch builds
However, if there is a technical need for this, I'm willing to port my work
from charts.
@tingvarsson there any documentation you can link to in the README on how to set this up? You could add mongo as a dependency in the Chart.yaml
from charts.
Ok, so I looked some more at it this morning and it seems quite simple to actualize. We already expose the DB configuration parameters in the chart, and we can disable the internal DB. So what would be nice as an alternative to run it completely seperate is to be able to spin it up as a pod within this chart. Similar to how nextcloud does it with their DB. I.e. It can be setup as internal, external but as a chart dependency, or completely external/deployed seperately.
Here's the small note in upstream README
And here's a docker-compose example running with a separate mongo DB.
from charts.
@tingvarsson might I suggest the worse docker container available, might not be the best example to give?
When it comes to updating and data storage it totaly fucks up ALL docker best-practices.
I think those people are not the example you want to give :')
That being said, seperating MongoDB for Unifi does make it more docker-friendly to keep track of the versioning between unificontroller and MongoDB for "normal" docker/k8s devops.
from charts.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 45 days). It will be closed if no further activity occurs. Thanks for the feedback.
from charts.
Definately still a relevant and not stale.
from charts.
@Ornias1993 I've heard doing this outside kubernetes is a pain in the ass, and very fragile. I can't see deploying it in kubernetes will make it any easier / stable. Not sure we want to keep this issue open if OP or no-one chooses to work on it. Having it be unstable will cause lots of support issues coming our way which honestly, we don't want to support.
Edit: The community forum post on this doesn't seem very helpful with a lot of people reporting issues
https://community.ui.com/questions/External-MongoDB-Server/d311a8f8-43b6-4aeb-859d-eefec9dc1bbc
from charts.
@ishioni I think thats a pretty solid foundation why it shouldn't be done. Thank!
Doing things just "because we can", only leads to future issues along the road and I don't see many people interested in this feature stepping up to fix them (as they also didn't send in a PR)
from charts.
Looks like the consensus is that this is not something we should pursue any further right now.
If a need for this does rise in the future, feel free to leave a comment or open a new issue 👍
from charts.
Related Issues (20)
- [pod-gateway] Cannot reach external servers when using wireguard HOT 2
- [mosquitto] TLS does not work if listener is defined in mosquitto.conf
- [mealie] api container missing health checks, causes service to go ready before it can serve traffic HOT 3
- [jackett] Upgrade container image to latest stable version
- [Bookstack] smtp.gmail.com unable to resolve as email host HOT 4
- [Homer] Support for the latest app version HOT 2
- Tdarr-node scaling HOT 1
- [mosquitto] version 4.8.1 is breaking HOT 4
- [bookstack] MariaDB fails to cold start (allegedly due its lack of rootPassword default) HOT 1
- [qbittorrent] Probes fail, no web UI and external resource downloads fail with vpn (wireguard) addon HOT 1
- [mqtt-exporter] Issues with metrics/serviceMonitor HOT 1
- [Icinga2] ini files get overwritten
- [zigbee2mqtt] - Old Application Version HOT 1
- [anonaddy] Update the documentation
- [calibre] Default image fails on arm64, newer tags are fine
- [whoami] New chart
- [<chart name>] Concise description of the issue HOT 1
- [dendrite] clientapi.config.registration_disabled always returns to true
- Deprecation of this Repo
- Adopt some deprecated charts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.