Docs - Alternative to Notion / Outline with OIDC, GDPR compliant, PDF Export (with template) etc...
-
So I got it to the point now where oidc login works through Cloudron. If anyone is curious and maybe wants to figure out a way how to get around the S3 requirement to create any document in the first place, I pushed all package code to https://git.cloudron.io/playground/docs-app for the moment.
-
So I got it to the point now where oidc login works through Cloudron. If anyone is curious and maybe wants to figure out a way how to get around the S3 requirement to create any document in the first place, I pushed all package code to https://git.cloudron.io/playground/docs-app for the moment.
-
Yes, however so far I couldn't figure a configuration which does not try to use S3. I did ask in the matrix channel, but so far no answer to that. Lets see...
-
hi folks, I just stumbled upon this again and it seems they just released the 4.0 version this week, including comments (!)
What an amazing piece thing would be to run this on cloudron
-
yes I keep an eye on that also, it seems very good. Only downside why we haven't packaged it already is the hard-dependency on S3 to store docs instead of the filesystem. With minio being in some limbo state recently this is not a great match for the moment for Cloudron, but hopefully this changes in the future
-
yes I keep an eye on that also, it seems very good. Only downside why we haven't packaged it already is the hard-dependency on S3 to store docs instead of the filesystem. With minio being in some limbo state recently this is not a great match for the moment for Cloudron, but hopefully this changes in the future
@nebulon said in Docs - Alternative to Notion / Outline with OIDC, GDPR compliant, PDF Export (with template) etc...:
yes I keep an eye on that also, it seems very good. Only downside why we haven't packaged it already is the hard-dependency on S3 to store docs instead of the filesystem. With minio being in some limbo state recently this is not a great match for the moment for Cloudron, but hopefully this changes in the future
Minio alternative is garage: https://github.com/deuxfleurs-org/garage
-
yes I keep an eye on that also, it seems very good. Only downside why we haven't packaged it already is the hard-dependency on S3 to store docs instead of the filesystem. With minio being in some limbo state recently this is not a great match for the moment for Cloudron, but hopefully this changes in the future
@nebulon I used to like traditional storage more but am seeing more and more the benefits of s3 in some fields. Ente performs in my opinion significantly better than immich, in good parts because of the storage used. I'm also planning on migrating various nextclouds to s3 storage. Even with MinIO not being an option anymore, there are so many vendors for people to choose for an s3 provider from. Just let people set s3 compatible credentials via s3, works great!
-
yes I keep an eye on that also, it seems very good. Only downside why we haven't packaged it already is the hard-dependency on S3 to store docs instead of the filesystem. With minio being in some limbo state recently this is not a great match for the moment for Cloudron, but hopefully this changes in the future
-
Yep. There's multiple alternatives. When/if they're appropriate as a drop-in for Minio and (for packagers) as an extension, there's more than one path. Looking only at things that seem to be "live"/viable:
Service URL License Notes Garage https://garagehq.deuxfleurs.fr/ GNU AGPL EU-based, compatible with many common clients, might serve as a static site/fileserver as well SeaweedFS https://github.com/seaweedfs/seaweedfs Apache 2.0 Can run as a single binary; can grow its storage area by adding to a list of paths (which would play well with Cloudron's volume mount model) VersityGW https://github.com/versity/versitygw Apache 2.0 Essentially proxies S3 straight to the filesystem, allowing access to files either through the S3 API or directly through the underlying filesystem. (Sounds easy to backup.) RustFS https://github.com/rustfs/rustfs Apache 2.0 Explicitly supports a single disk/single node deployment, but it looks like it wants direct access to disk mounts. Ozone https://github.com/apache/ozone Apache 2.0 Apache Foundation object store project. Handles HDFS and intended to scale. Not really appropriate for Cloudron's use-case. Garage and/or Seaweed are likely the most mature of this bunch. Versity might be the simplest.
the start of a package
After looking at the Garage repo, it was apparent that it should be very packageable. All the right things are broken out as environment variables.
https://git.jadud.com/jadudm/cloudron-garage
I was able to:
- Push this to a private registry I'm hosting on my Cloudron
- Use the
cloudron buildandcloudron updatesequence to make changes and improve it on my Cloudron instance - Use the terminal to create a zone/location, assign it some space, and create a bucket
- Create a key for that bucket
- Use
mc(minio client) to put a file in the bucket and list the contents of the bucket
There's a bunch more that would need to be done. A few thoughts, mostly random:
- The SQLite metadata needs to be backed up correctly. It might be that I've already done everything necessary by using
localstorageand pointing it at that metadata DB. - I used
httpPortsto map almost all of the endpoints that are supposed to be public, but... I'm not sure I wired everything up correctly in the config. Something was right (since I could use the API), but I did not test (say) the admin API, and I did not expose the K/V database API. (Which... could be handy to expose.) - The docs say
httpPortis optional/not required, but the command line tools disagree. The docs should be updated. - I didn't try and play with SSO, but I don't know if I have to? Or, there's a bunch to think about there. I think
garageis kinda secure out-of-the-box (with no keys configured by default, etc.), but that doesn't mean I'm confident. As a result, perhaps SSO isn't necessary? - I did not experiment with exposing anything as a web page. The notion that I could push to a bucket and use that as a static site server (as opposed to creating
surferinstances, say) is compelling. But, I'd have to figure out how to map the domains...
If this is a direction things go, I'd be glad to be a sounding board/help out.
