You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.3 KiB
81 lines
2.3 KiB
seaf_user: seafile
|
|
seaf_group: seafile
|
|
seaf_dir: /opt/seafile
|
|
|
|
seaf_version: 9.0.6
|
|
|
|
seaf_fs_port: 8082
|
|
|
|
seaf_db_user: seafile
|
|
seaf_db_ccnet: ccnet_db
|
|
seaf_db_seafile: seafile_db
|
|
seaf_db_seahub: seahub_db
|
|
|
|
seaf_server_name: "{{ ('seaf_' ~ org) | truncate(15, true, '', 0) | lower }}"
|
|
|
|
seaf_cleanup:
|
|
minute: 30
|
|
hour: 3
|
|
weekday: 0
|
|
|
|
seaf_default_config:
|
|
seafile:
|
|
fileserver:
|
|
host: 127.0.0.1
|
|
port: "{{ seaf_fs_port }}"
|
|
max_download_dir_size: 2000
|
|
web_token_expire_time: 10800
|
|
|
|
database:
|
|
type: mysql
|
|
host: 127.0.0.1
|
|
port: 3306
|
|
user: "{{ seaf_db_user }}"
|
|
password: "{{ seaf_db_password }}"
|
|
db_name: "{{ seaf_db_seafile }}"
|
|
connection_charset: utf8
|
|
|
|
slow_log:
|
|
enable_slow_log: no
|
|
|
|
seahub:
|
|
enable_signup: yes
|
|
login_remember_days: 90
|
|
login_attempt_limit: 7
|
|
user_password_min_length: 8
|
|
user_password_strength_level: 2
|
|
user_strong_password_required: yes
|
|
enable_force_2fa_to_all_users: no
|
|
|
|
enable_repo_snapshot_label: yes
|
|
|
|
encrypted_library_version: 4
|
|
share_link_login_required: no
|
|
enable_watermark: no
|
|
enable_share_link_report_abuse: no
|
|
file_preview_max_size: 104857600
|
|
|
|
time_zone: "{{ timezone }}"
|
|
site_name: "{{ org }}"
|
|
site_title: "Seafile | {{ org }}"
|
|
max_number_of_files_for_fileupload: 10000
|
|
|
|
email_use_tls: yes
|
|
email_host: "{{ mail_server.mta_actual_hostname ~ '.' ~ mail_server.tld }}"
|
|
email_port: "{{ mail_server.tls_port | d(465) }}"
|
|
|
|
email_host_user: "{{ mail_account.username }}"
|
|
email_host_password: "{{ mail_account.password }}"
|
|
default_from_email: "{{ mail_account.username ~ '@' ~ (mail_account.domain | d(mail_server.tld)) }}"
|
|
server_email: "{{ mail_account.username ~ '@' ~ (mail_account.domain | d(mail_server.tld)) }}"
|
|
|
|
office_server_type: CollaboraOffice
|
|
enable_office_web_app: yes
|
|
office_web_app_base_url: "{{ host_url }}/hosting/discovery"
|
|
wopi_access_token_expiration: 1800
|
|
enable_office_web_app_edit: yes
|
|
|
|
office_web_app_file_extension: ['odp', 'ods', 'odt', 'xls', 'xlsb', 'xlsm', 'xlsx', 'ppsx', 'ppt', 'pptm', 'pptx', 'doc', 'docm', 'docx']
|
|
office_web_app_edit_file_extension: ['odp', 'ods', 'odt', 'xls', 'xlsb', 'xlsm', 'xlsx', 'ppsx', 'ppt', 'pptm', 'pptx', 'doc', 'docm', 'docx']
|
|
|
|
enable_two_factor_auth: yes
|
|
|