saltyorg / Sandbox

Saltbox Sandbox
GNU General Public License v3.0
63 stars 91 forks source link

App Request: Chibisafe #371

Open cherryroots opened 2 weeks ago

cherryroots commented 2 weeks ago

Chibisafe

What does it do? Why? Please describe.

I'd like to have this included as the other services included in the sandbox either are too heavy(nextcloud) or not maintained anymore (Jirafeau). The following is the opening quote of the github page

Chibisafe is a file uploader service written in typescript that just works. It's easy to use, easy to deploy, free and open source. It accepts files, photos, documents, anything you imagine and gives you back a shareable link for you to send to others.

You can run it in public mode, user accounts mode or invite-only mode. Big files are automatically chunked to minimize network failure and users can create an API key to use the service programatically and hook it to other things.

The service also comes with a dashboard where you can edit almost every configuration of the instance directly from the UI without having to touch environment or configuration files manually. Control the name, the rate limit, max file size, accepted extensions, meta descriptions, etc directly from our intuitive panel.

Links to further information

What are you willing to do to help?

owine commented 2 weeks ago

So this needs two underlying containers, Caddy serving the webui and then Saltbox's Traefik would be on top of that?

saltydk commented 2 weeks ago

You don't need caddy, just multiple routers on the Traefik side to handle the 2 unique paths.

owine commented 2 weeks ago

You don't need caddy, just multiple routers on the Traefik side to handle the 2 unique paths.

Strange that their sample Traefik deployment still deploys Caddy in between.

saltydk commented 2 weeks ago

Because they don't know what they are doing I suppose.

saltydk commented 2 weeks ago

I mean they have this bit in their NPM guide:

As Docker by default does not run as your user, this may not be the best location to put Chibisafe in. The more "appropriate" location would be on /srv, so change the place where Chibisafe is installed accordingly if you want to follow best practices.

saltydk commented 2 weeks ago

The only time I've needed another proxy as a go between is when using WSGI. There are probably other edge cases but it is the only one I could think of.

cherryroots commented 1 week ago

Yeah I don't think Caddy is required at all as the NPM guide doesn't use it, just a bit odd to have it with Traefik but I guess they don't know how to set up routers. The guide with NPM is only a week old too so guess nobody cared about not using Caddy before then