official seafile container
This commit is contained in:
11
seafile-new/server/seafile/conf/ccnet.conf
Normal file
11
seafile-new/server/seafile/conf/ccnet.conf
Normal file
@@ -0,0 +1,11 @@
|
||||
[General]
|
||||
|
||||
[Database]
|
||||
ENGINE = mysql
|
||||
HOST = seafile-mysql
|
||||
PORT = 3306
|
||||
USER = seafile
|
||||
PASSWD = 26669b06-5358-4693-95f3-833da89c70cb
|
||||
DB = ccnet_db
|
||||
CONNECTION_CHARSET = utf8
|
||||
|
||||
17
seafile-new/server/seafile/conf/gunicorn.conf.py
Normal file
17
seafile-new/server/seafile/conf/gunicorn.conf.py
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
import os
|
||||
|
||||
daemon = True
|
||||
workers = 5
|
||||
|
||||
# default localhost:8000
|
||||
bind = "127.0.0.1:8000"
|
||||
|
||||
# Pid
|
||||
pids_dir = '/opt/seafile/pids'
|
||||
pidfile = os.path.join(pids_dir, 'seahub.pid')
|
||||
|
||||
# for file upload, we need a longer timeout value (default is only 30s, too short)
|
||||
timeout = 1200
|
||||
|
||||
limit_request_line = 8190
|
||||
5
seafile-new/server/seafile/conf/seafdav.conf
Normal file
5
seafile-new/server/seafile/conf/seafdav.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
[WEBDAV]
|
||||
enabled = false
|
||||
port = 8080
|
||||
share_name = /seafdav
|
||||
19
seafile-new/server/seafile/conf/seafile.conf
Normal file
19
seafile-new/server/seafile/conf/seafile.conf
Normal file
@@ -0,0 +1,19 @@
|
||||
[fileserver]
|
||||
port = 8082
|
||||
|
||||
[database]
|
||||
type = mysql
|
||||
host = seafile-mysql
|
||||
port = 3306
|
||||
user = seafile
|
||||
password = 26669b06-5358-4693-95f3-833da89c70cb
|
||||
db_name = seafile_db
|
||||
connection_charset = utf8
|
||||
|
||||
[notification]
|
||||
enabled = false
|
||||
host = 127.0.0.1
|
||||
port = 8083
|
||||
log_level = info
|
||||
jwt_private_key = -fl9r-9imc*dhtpgx4w9**bdk*8thq!wq6_0_mov*z!3chs(bu
|
||||
|
||||
29
seafile-new/server/seafile/conf/seahub_settings.py
Executable file
29
seafile-new/server/seafile/conf/seahub_settings.py
Executable file
@@ -0,0 +1,29 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
SECRET_KEY = "b'x)npwu6*%19$_*-c+%yl(tudan3)uc9f#*hur3$18yw*6z33+&'"
|
||||
SERVICE_URL = "http://seafile.example.com/"
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.mysql',
|
||||
'NAME': 'seahub_db',
|
||||
'USER': 'seafile',
|
||||
'PASSWORD': '26669b06-5358-4693-95f3-833da89c70cb',
|
||||
'HOST': 'seafile-mysql',
|
||||
'PORT': '3306',
|
||||
'OPTIONS': {'charset': 'utf8mb4'},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
CACHES = {
|
||||
'default': {
|
||||
'BACKEND': 'django_pylibmc.memcached.PyLibMCCache',
|
||||
'LOCATION': 'memcached:11211',
|
||||
},
|
||||
'locmem': {
|
||||
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
|
||||
},
|
||||
}
|
||||
COMPRESS_CACHE_BACKEND = 'locmem'
|
||||
TIME_ZONE = 'Europe/Amsterdam'
|
||||
FILE_SERVER_ROOT = "http://seafile.example.com/seafhttp"
|
||||
Reference in New Issue
Block a user