official seafile container
This commit is contained in:
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