Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. Docs - Alternative to Notion / Outline with OIDC, GDPR compliant, PDF Export (with template) etc...

Docs - Alternative to Notion / Outline with OIDC, GDPR compliant, PDF Export (with template) etc...

Scheduled Pinned Locked Moved App Wishlist
48 Posts 12 Posters 6.3k Views 13 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • nebulonN nebulon

    Took me a bit but I tried this today morning. The backend aspect is django and quite doable. Frontend unfortunately nextjs which usually blows up the resulting image by GBs, but that is also doable.

    Unfortunately it does require a S3 host for media as well as keycloak for its user backend. The latter may work with our OpenID provider, however S3 is a bit of a blocker, unless we package some S3 server within the app 😕

    Will see how far we can get here over time.

    T Offline
    T Offline
    Teiluj
    wrote on last edited by
    #36

    @nebulon Thanks for looking into this @nebulon . Much appreciated.

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #37

      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.

      andreasduerenA 1 Reply Last reply
      2
      • nebulonN nebulon

        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.

        andreasduerenA Offline
        andreasduerenA Offline
        andreasdueren
        wrote on last edited by
        #38

        @nebulon Trying to read up a bit on it. In the docs it says s3 for production is optional: "Object Storage (optional)".

        Does this mean it's functional without file upload without it?

        1 Reply Last reply
        1
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #39

          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...

          robiR 1 Reply Last reply
          3
          • nebulonN nebulon

            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...

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #40

            @nebulon why not add S3 as a default "DB" and storage layer in Cloudron?

            Conscious tech

            1 Reply Last reply
            2
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #41

              Yes, this may be worth considering, but will certainly delay getting this package out for the moment 😕

              1 Reply Last reply
              3
              • nebulonN Offline
                nebulonN Offline
                nebulon
                Staff
                wrote on last edited by
                #42

                I got a response from the upstream team and indeed S3 is not optional but mandatory, the optional is for the original S3 or optionally something like minio.

                1 Reply Last reply
                2
                • chetbakerC Offline
                  chetbakerC Offline
                  chetbaker
                  wrote last edited by chetbaker
                  #43

                  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

                  https://github.com/suitenumerique/docs/releases/tag/v4.0.0

                  1 Reply Last reply
                  5
                  • nebulonN Offline
                    nebulonN Offline
                    nebulon
                    Staff
                    wrote last edited by
                    #44

                    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

                    SansGuidonS andreasduerenA robiR 3 Replies Last reply
                    1
                    • nebulonN nebulon

                      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

                      SansGuidonS Offline
                      SansGuidonS Offline
                      SansGuidon
                      wrote last edited by
                      #45

                      @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

                      About me / Now

                      1 Reply Last reply
                      3
                      • nebulonN nebulon

                        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

                        andreasduerenA Offline
                        andreasduerenA Offline
                        andreasdueren
                        wrote last edited by
                        #46

                        @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!

                        1 Reply Last reply
                        3
                        • nebulonN nebulon

                          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

                          robiR Offline
                          robiR Offline
                          robi
                          wrote last edited by
                          #47

                          @nebulon when do we get a system level S3 store?

                          Garage seems like a fit and enables the Multi Cloudron vision.

                          Let's not make us install S3 services in LAMP out of no better choice.

                          Conscious tech

                          1 Reply Last reply
                          2
                          • jadudmJ Offline
                            jadudmJ Offline
                            jadudm
                            wrote last edited by jadudm
                            #48

                            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 build and cloudron update sequence 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 localstorage and pointing it at that metadata DB.
                            • I used httpPorts to 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 httpPort is 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 garage is 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 surfer instances, 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.

                            I use Cloudron on a Dell 7040 I bought on eBay.

                            1 Reply Last reply
                            2
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search