Seafile - cloud storage platform
-
It's a surprisingly simple Dockerfile: https://github.com/codeoutin/seafile7/blob/master/Dockerfile
-
It's actually a Dockerfile running a shell script that is running the seafile installer at run time.
@girish
wuat?! So it's "installed" every time I start the container? -
(From my quick look) What I meant is that it's installing things at run time instead of in the Docker image itself. The Docker image is meant to be a set of instructions that has the code and dependencies of the app. But in the case of the linked script, it's just launching a plain ubuntu container and running the setup script.
Something like:
docker run -ti ubuntu /bin/bash, then in the container# curl seafile_install.sh && chmod +x seafile_install.sh && ./seafile_install.sh # /usr/bin/seafileThe above will work but downloading stuff and installing deps at runtime is not a "stable" recipe.
-
I wonder if this is the better repo to be looking at for Cloudron compatibility:
-
I wonder if this is the better repo to be looking at for Cloudron compatibility:
IF not for Cloudron, then perhaps better to use with a Proxmox host:
-
I wonder if this is the better repo to be looking at for Cloudron compatibility:
@marcusquinn said in Seafile - cloud storage platform:
I wonder if this is the better repo to be looking at for Cloudron compatibility:
Yes, that is a much better way to look at packaging it, although one still needs to combine a few dockerfiles into one Cloudron app.
-
N necrevistonnezr referenced this topic on
-
Bumping for traction. Would be great if this is considered again - my last app that hasn't moved to the Cloudron platform.
-
I'd like to see this too, I'm getting over nextcloud.
-
Last I checked, seafile has it's own storage system. This means that files are not stored as-is on the filesystem and retrieval can be complicated in case of fs corruption.
@joseph spot on

Needed I think because of its approach to indexing and version/change tracking/sync
Seafile does provide a utility to abstract files from its format to traditional format but it needs to be run periodically if you want to keep a clean copy, and of course doubles the size.
Nonetheless I use Seafile heavily and itβs always been reliable.
Would love to see it here on Cloudron, I currently run it on a VPS with Docker
Packaging for Cloudron has its challenges. -
Cross-posting from https://forum.cloudron.io/post/118075
Making progress on packaging Seafile for Cloudron
-

I have a first version of Seafile Community Edition packaged for Cloudron !
Took longer than I expected, but I previously didn't believe it even to be possible.
All seems working, including the web UI and desktop sync clients.
- Only issue I have found is that my Safari does not display PDFs when loaded in the browser from the Seafile library. Firefox does work (Chrome untested).
- other file formats do work in the browser
More testing needed, but looks good currently.
I will add this to the Custom App Installer shortly.
PRO edition needs some thought.
Due to Seafile licensing, I cannot package it.
There is an upgrade route from Community to PRO.
Need to test it out against this package.
Will try this out later.EDIT : also need think about using volumes and about backups to extract files into native names, not Seafile's tracked/masked naming.
-
If you want to try out Seafile on Cloudron :
Installation methods :
Custom App Installer :
- hosted https://ccai.appx.uk
- or install Custom App Installer Personal Edition on to your Cloudron and import catalogue
Cloudron CLI + Pre-built docker image
- install Cloudron CLI on your local device (desktop/laptop)
- clone the repo
cloudron install --image tcmbp132021:cloudron-seafile-ce:v1.0.1 -l seafile.domain.tld
Manual :
- install Cloudron CLI on your local device (desktop/laptop)
- install docker on your local device
- have a docker registry and be logged in
- clone the repo
docker build --platform linux/amd64 -t <registry.domain.tld>/cloudron-seafile-ce:v1.0.1 .(remember the final '.')docker push <registry.domain.tld>/cloudron-seafile-ce:v1.0.1cloudron install --image <registry.domain.tld>/cloudron-seafile-ce:v1.0.1 -l seafile.domain.tld