It's got some rough edges. I want to sit down and build it so I can add an id to the TOC so I can CSS style it to be floating and submit it upstream.
I'm also having issues with integrating it with Authentik's header proxy auth, keeps directing me to a note with the outpost path as the name. The only guide is for authelia.
I haven't tried putting it behind Authentik or Authelia. They make it known in the Authelia guide what it is they care about being always exposed, vs password protected. Hopefully you get it figured out and you can update the docs so the next person doesn't have the same headache!
I just put it behind a <uuid>.mydomain.com with a domain TLS cert and use the built-in auth.
The wildcard TLS cert keeps the <uuid> from being public in the cert log. The only way you know the URL is if you have access to my DNS queries or have a MITM setup. Plus you still have to know my password.
Good Enough for me.
If I cared a bit more I'd put it behind Tailscale/Nebula/etc instead of having it publicly accessible. Maybe next time I'm bored I'll do that.
That's cool, but I'm curious how you determine that the LED's output the right wavelengths for plant growth? I was under the impression you need specific types for grow lights and these look like standard off the shelf LEDs
Anyway, great project and worth pushing beyond being a "toy project" imo. But like few other commenters - seeing LEDs you used immediately rubbed me the wrong way.
I tend to seed my peppers in Dec/Jan (in Central Europe), ~1.5-2 months before you would normally do it. Without proper growlights and FANs they would get too tall before releasing leaves and have "leggy", too thin stem, to be moved to windy outdoors in Apr/May. These kinds of plants grow too tall if they don't "detect" proper [sun]light and don't spawn leaves since there's no light required for photosynthesis at given height.
My use-case (leggy, thin stems that break under outdoor wind) isn't translatable to yours but my point here is: having a set of dedicated red and blue LEDs with certain wavelenghts (red 630nm-660nm, blue 450-470nm, depending on plant species) is the key to emulate natural sunglight. Other wavelenghts are cool for decorative purposes but it's still "darkness" for plants. I used to buy small PCBs and LEDs dedicated for soldering together with reds and blues of different wavelenghts ratio one requires but nowadays I'm going mostly with ready-to-use grow lamps as I grow rather not that demanding plants.
Your project is great, shows your dedication and already doesn't at all seem like a "toy project". I'd love to see it extended to different kinds of plants!
I imagine it wouldn't be for the system admins to use, it's for all the other users who can use terminal applications but always treat ssh keys as a nuisance and try to avoid them as much as possible.
I used to run it on a 4 core Celeron NUC with a measly 8 gig of ram and 1 TB SSD via the community fpm container: https://github.com/nextcloud/docker I now run it on a much more powerful system but performance wise it's the same.
Side containers
DB: I use postgres
Redis: https://github.com/dragonflydb/dragonfly as the redis container
Image processing: imaginary container maintained by the Nextcloud team
Most of this is available in the AIO setup but I prefer manually tuning things for my system
As it's a __big__ SAS product to run it well on lower end systems you MUST:
- Tune your PHP settings to your system.
- Tune your DB settings
- Set up caching properly
- Offload as much processing as possible to background processes (e.g. preview generation)
Probably tune your Proxy settings as well.
Big changes I've made:
- Switch logging to error only and syslog (not the normal file on disk) as it can hammer single disk systems.
- Switch to unix sockets for redis and the database for quite a performance boost.
I’ve never done much in the way of tuning Nextcloud, but I do enable APCu and Redis. I also ditched MariaDB years ago and moved to PostgreSQL.
It definitely isn’t so slow it is unusable, limited to 2 cores of an Intel N95 CPU and 2GB RAM.
I have often wonder if some apps drag the whole thing down because my experience doesn’t seem to be universal. That dashboard thing had to go, and the talk app was never something I was interested in either.
I’ve been running it since it was OwnCloud and never really have upgrade issues either. YMMV.
I'm also having issues with integrating it with Authentik's header proxy auth, keeps directing me to a note with the outpost path as the name. The only guide is for authelia.