Sign inSign up

cenk1cenk2/seafile-cli

By cenk1cenk2

Updated 4 days ago

Image
1

100K+

cenk1cenk2/seafile-cli repository overview

cenk1cenk2/seafile-cli

pipeline status Docker Pulls Docker Image Size (latest by date) Docker Image Version (latest by date) GitHub last commit

Description

Seafile client inside a Docker container that can synchronize multiple libraries for the given user credentials.



Setup

Mount your libraries to $SEAFILE_MOUNT_LOCATION in subfolders with the library UUIDs that can be obtained through https://seafile.yourdomain.com/libraries/$UUID. It will automatically synchronize the libraries under the given folder for the given user credentials.

Environment Variables

Flags

CLI

Flag / EnvironmentDescriptionTypeDefault
$LOG_LEVELDefine the log level for the application.string
enum("panic", "fatal", "warn", "info", "debug", "trace")
"info"
$ENV_FILEEnvironment files to inject.string[]

Credentials

Flag / EnvironmentDescriptionTypeDefault
$USERNAME*Email address of the user that owns the libraries.string
$PASSWORDPassword of the user that owns the libraries.string
$TOKENToken of the user that owns the libraries.string

* required

Health

Flag / EnvironmentDescriptionTypeDefault
$HEALTH_STATUS_INTERVALInterval for outputting current status.duration5m0s
$HEALTH_EXIT_ON_FAILUREExit the process when a health check fails, so the orchestrator can restart the container.booltrue

Seafile

Flag / EnvironmentDescriptionTypeDefault
$SEAFILE_MOUNT_LOCATIONMount location for the libraries.string"/data"
$SEAFILE_DATA_LOCATIONMount location for the data.string"/seafile"
$SEAFILE_UMASKUmask to configure for the Seafile client.string

Server

Flag / EnvironmentDescriptionTypeDefault
$SERVER_URL*External url of the given Seafile server.string

* required

Deploy

You can check out the example setup inside docker-compose.yml to see how this container can become operational. Please mind the environment variables for the configuration as well as the section about the configuration files and their generation.

Tag summary

Content type

Image

Digest

sha256:48995f00b

Size

56.3 MB

Last updated

4 days ago

docker pull cenk1cenk2/seafile-cli