Sign inSign up

scolib/seafile-pro

By scolib

•Updated over 7 years ago

seafile pro

Image
0

222

scolib/seafile-pro repository overview

⁠Seafile Pro Image

⁠Use

docker run \
	-ti \
	-v /docker-data/seafile:/data \
	-e SERVER_NAME=TESTSERVER \
	-e SERVER_IP=localhost.localdomain \
	-e [email protected] \
	-e SEAFILE_ADMIN_PASS=123456 \
	-p 8000:8000 \
	-p 8082:8082 \
	scolib/seafile-pro:<tag>

⁠Environment Variables

VariableDefaultDescription
DATABASE_TYPEsqliteWhich database to use, supported options: "sqlite", "mysql". Note: MySQL requires additional MYSQL_* variables
SERVER_NAMEnoneThe name of the seafile server
SERVER_IPnoneThe address which user use to reach the seafile server
ENABLE_CRON_GC0If garbage collect cron should run, set to "1" to enable, requires MySQL as database
SEAFILE_ADMIN_MAILnoneThe initial seafile admin e-mail address
SEAFILE_ADMIN_PASSnoneThe initial seafile admin password, password is not updated after initial setup

Bold variables are required

⁠Setup with MySQL and Database Environment Variables

This container supports non-interactive setup via environment variables. See https://manual.seafile.com/deploy/using_mysql.html#setup-in-non-interactive-way⁠ for reference.

VariableDefaultDescription
DATABASE_TYPEsqliteWhich database to use, supported options: "sqlite", "mysql". Note: MySQL requires additional MYSQL_* variables
MYSQL_HOSTnoneMySQL database hostname to connect to
MYSQL_PORT3306MySQL database port
MYSQL_ROOT_PASSWDnoneThe name of the seafile server
MYSQL_USERseafileThe user to create for seafile
MYSQL_USER_PASSWDnoneMySQL password to user for the seafile user
MYSQL_USER_HOST%MySQL user host (access control) for the seafile user, defaults to any host
DB_PREFIXseafile_Database tables are prefixed with a unique identifier that groups them and allows multiple seafile installations with the same database.
CCNET_DBccnetThe database name to use for CCNET
SEAFILE_DBseafileThe database name to use for SEAFILE
SEAHUB_DBseahubThe database name to use for SEAHUB
⁠Example run configuration for MySQL:
docker run \
	-ti \
	-v /docker-data/seafile:/data \
	-e SERVER_NAME=TESTSERVER \
	-e SERVER_IP=localhost.localdomain \
	-e [email protected] \
	-e SEAFILE_ADMIN_PASS=123456 \
	-e DATABASE_TYPE=mysql \
	-e MYSQL_HOST=mysql.localdomain \
	-e MYSQL_ROOT_PASSWD=SomeRootPass \
	-e MYSQL_USER_PASSWD=SomeSeafileDbUserPass \
	-p 8000:8000 \
	-p 8082:8082 \
	scolib/seafile-pro:<tag>

⁠Thanks

https://gitlab.com/dhswt/docker/seafile.git⁠

https://github.com/simplificuk/docker-seafile-pro.git⁠

Tag summary

Content type

Image

Digest

Size

605.2 MB

Last updated

over 7 years ago

docker pull scolib/seafile-pro