|
Some checks are pending
Deploy CI - 13.0 / deploy (push) Waiting to run
* Add changelog for 12.0.10 * Add changelog for 12.0.10 * fix: migrate from non-docker * fix: minimal install for mariadb in backup and recover * fix: fuse content missing in host * opt:adjusting migration strategy * Add changelog for pro 12.0.10 * Update security_features.md Update descriptions for encrypted library. * Update seahub_settings_py.md Update description for encrypted library versions. * docs: update Windows development setup instructions for vcpkg (#471) * Update drive-client-changelog.md 3.0.13 * update seasearch.yml * update * Update shibboleth_authentication.md * Update remote_user.md * fix: backup & restore command mysql -> mariadb * update backup and recovery commands and tip * opt: steps in recovering DB * update link of note of MDEV-30203 note from Mariadb * update link of note of MDEV-30203 note from Mariadb * opt: steps in recovering DB * Add changelog for 12.0.11-pro * Add changelog for v12.0.11 * republish 13.0 * fix: ce binary deployment format error --------- Co-authored-by: Daniel Pan <daniel.pan@seafile.com> Co-authored-by: Daniel Pan <freeplant@gmail.com> Co-authored-by: Jiaqiang Xu <jonathan.xu@seafile.com> Co-authored-by: rumtid <liwei.jiang@seafile.com> Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com> Co-authored-by: lian <imwhatiam123@gmail.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| admin_roles_permissions.md | ||
| auth_switch.md | ||
| auto_login_seadrive.md | ||
| ccnet-conf.md | ||
| config_seafile_with_ADFS.md | ||
| customize_email_notifications.md | ||
| details_about_file_search.md | ||
| env.md | ||
| ldap_in_11.0_ce.md | ||
| ldap_in_11.0_pro.md | ||
| multi_institutions.md | ||
| multi_tenancy.md | ||
| oauth.md | ||
| ocm.md | ||
| remote_user.md | ||
| roles_permissions.md | ||
| saml2_in_10.0.md | ||
| seafevents-conf.md | ||
| seafile-conf.md | ||
| seahub_customization.md | ||
| seahub_settings_py.md | ||
| sending_email.md | ||
| shibboleth_authentication.md | ||
| single_sign_on.md | ||
Server Configuration and Customization
Config Files
The config files used in Seafile include:
- environment variables: contains environment variables, the items here are shared between different components. Newly introduced components, like sdoc-server and notificaiton server, read configuraitons from environment variables and have no config files.
- seafile.conf: contains settings for seafile daemon and fileserver.
- seahub_settings.py: contains settings for Seahub
- seafevents.conf: contains settings for background tasks and file search.
You can also modify most of the config items via web interface.The config items are saved in database table (seahub-db/constance_config). They have a higher priority over the items in config files.
The design of configure options
There are now three places you can config Seafile server:
- environment variables
- config files
- via web interface
The web interface has the highest priority. It contains a subset of end-user oriented settings. In practise, you can disable settings via web interface for simplicity.
Environment variables contains system level settings that needed when initialize Seafile server or run Seafile server. Environment variables also have three categories:
- Initialization variables that used to generate config files when Seafile server run for the first time.
- Variables that shared and used by multiple components of Seafile server.
- Variables that used both in generate config files and later also needed for some components that have no corresponding config files.
The variables in the first category can be deleted after initialization. In the future, we will make more components to read config from environment variables, so that the third category is no longer needed.
