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
  • 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 Packaging & Development
  3. Cross-App Shared Storage and Jupyter

Cross-App Shared Storage and Jupyter

Scheduled Pinned Locked Moved App Packaging & Development
2 Posts 2 Posters 383 Views 2 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.
  • rohit507R Offline
    rohit507R Offline
    rohit507
    wrote on last edited by
    #1

    First, can you upload the jupyter app info to https://git.cloudron.io/cloudron? It seems to be missing.

    I've also got a few questions about packaging apps for cloudron:

    • Is there some good way to just flag certain directories as to be preserved?

      • Right now I can create hard or soft links into "/app/data/" but that's not ideal.
    • Can we create our own addons? How hard would that be?

    • Could a modified version of "proxyAuth" let you spin up separate per-user instances of an app?

    • Is cross-app file sharing a thing? Something like a shared mounted drive?

      • I'm imagining an addon, probably dependent on "ldap", where:
        • Admins specify shared mounts w/ size limits and permissions settings.
        • "/app/shared-data/metadata.json" is a cloudron generated read-only file.
          • It would have entries linking mounts to metadata, ldap users, and permissions information.
        • Each shared folder would be mounted in "/app/shared-data/{hash-of-mount-name}/".
        • The packager specifies an update script that's called whenever there's a change to mount settings or mount contents.
    girishG 1 Reply Last reply
    1
    • rohit507R rohit507

      First, can you upload the jupyter app info to https://git.cloudron.io/cloudron? It seems to be missing.

      I've also got a few questions about packaging apps for cloudron:

      • Is there some good way to just flag certain directories as to be preserved?

        • Right now I can create hard or soft links into "/app/data/" but that's not ideal.
      • Can we create our own addons? How hard would that be?

      • Could a modified version of "proxyAuth" let you spin up separate per-user instances of an app?

      • Is cross-app file sharing a thing? Something like a shared mounted drive?

        • I'm imagining an addon, probably dependent on "ldap", where:
          • Admins specify shared mounts w/ size limits and permissions settings.
          • "/app/shared-data/metadata.json" is a cloudron generated read-only file.
            • It would have entries linking mounts to metadata, ldap users, and permissions information.
          • Each shared folder would be mounted in "/app/shared-data/{hash-of-mount-name}/".
          • The packager specifies an update script that's called whenever there's a change to mount settings or mount contents.
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      First, can you upload the jupyter app info to https://git.cloudron.io/cloudron? It seems to be missing.

      The name is a bit different since it's based on the upstream hub project - https://git.cloudron.io/cloudron/jupyterhub-app

      Are the rest of the questions somehow related to Jupyter? I will try my best to answer them but I am missing the context. If you can give me the use case for each of the questions below, I can help further.

      Is there some good way to just flag certain directories as to be preserved?

      Only /app/data is preserved. Even symlinking won't work since the backup logic does not follow symlinks. So far, we are yet to encounter an app that cannot be covered with a single directory.

      Can we create our own addons? How hard would that be?

      addons are part of the platform. they are not hard at all, they are just docker containers with a "service" API. But they require quite a bit of work and testing. What new addon are you thinking of?

      Could a modified version of "proxyAuth" let you spin up separate per-user instances of an app?

      I think I understand what you are asking for. For example, there are some "single user" apps. Would be nice to somehow spin multiple instances of these "single user" apps. IMO, would be best to somehow make those apps multi-user 😉 Given most of the apps are opensource, time can be spent contributing upstream. A workaround is of course install an instance of an app for each user...

      Is cross-app file sharing a thing? Something like a shared mounted drive?

      See Voilumes. You can create a directory on the server and create a volume. Then this volume is mounted into any number of apps you want.

      1 Reply Last reply
      0
      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