aboutsummaryrefslogtreecommitdiff
path: root/app/seafile/config/conf/seahub_settings.py.tpl
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2021-08-20 17:39:07 +0200
committerQuentin <quentin@deuxfleurs.fr>2021-08-20 17:39:07 +0200
commitd40c41004d0f234140f5ec9fc029f4ef6ce3f60c (patch)
treeaea37ac5804b3e2c159a8ce755b6b2db002048c1 /app/seafile/config/conf/seahub_settings.py.tpl
parent09269e8497793f97398ace2ebe7f2b70777788c8 (diff)
downloadinfrastructure-d40c41004d0f234140f5ec9fc029f4ef6ce3f60c.tar.gz
infrastructure-d40c41004d0f234140f5ec9fc029f4ef6ce3f60c.zip
Add bagage deployment
Diffstat (limited to 'app/seafile/config/conf/seahub_settings.py.tpl')
-rw-r--r--app/seafile/config/conf/seahub_settings.py.tpl21
1 files changed, 0 insertions, 21 deletions
diff --git a/app/seafile/config/conf/seahub_settings.py.tpl b/app/seafile/config/conf/seahub_settings.py.tpl
deleted file mode 100644
index 6c63ee4..0000000
--- a/app/seafile/config/conf/seahub_settings.py.tpl
+++ /dev/null
@@ -1,21 +0,0 @@
-SECRET_KEY = "8ep+sgi&s1-f2cq2178!ekk!0h0nw2y4z1-olbaopxmodsd8vk"
-FILE_SERVER_ROOT = 'https://cloud.deuxfleurs.fr/seafhttp'
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.mysql',
- 'NAME': 'seahub-db',
- 'USER': 'seafile',
- 'PASSWORD': '{{ key "secrets/seafile/ccnet/mysql_pwd" | trimSpace }}',
- 'HOST': 'mariadb.service.2.cluster.deuxfleurs.fr',
- 'PORT': '3306',
- 'OPTIONS': {
- 'init_command': 'SET storage_engine=INNODB',
- }
- }
-}
-FILE_PREVIEW_MAX_SIZE = 100 * 1024 * 1024
-ENABLE_THUMBNAIL = True
-THUMBNAIL_ROOT = '/mnt/seafile-data/thumbnail/thumb/'
-THUMBNAIL_EXTENSION = 'png'
-THUMBNAIL_DEFAULT_SIZE = '24'
-PREVIEW_DEFAULT_SIZE = '300'