Skip to content
Snippets Groups Projects
Commit 2884408c authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC: added documentation of server.conf

parent 0b0eb194
No related branches found
No related tags found
No related merge requests found
# Set the timezone of the server
# TODO: add example
TIMEZONE=
# Set the name of the server owner
# TODO: add example
SERVER_OWNER=
# Name of this CaosDB Server
SERVER_NAME=CaosDB Server
# --------------------------------------------------
# The following paths are relative to the working directory of the server.
# --------------------------------------------------
# The location of the server side scripting binaries.
# Put your executable python scripts here, if they need to be called from the scripting API.
SERVER_SIDE_SCRIPTING_BIN_DIR=./scripting/bin/
# Working directory of the server side scripting API.
# On execution of binaries and scripts the server will create a corresponding working directory in this folder.
SERVER_SIDE_SCRIPTING_WORKING_DIR=./scripting/working/
# Home directories of the server side scripting API.
# Specific config files, pip packages or other prerequisites for running a script or binary
# can go into a specific home directory for the respective script within this folder.
SERVER_SIDE_SCRIPTING_HOME_DIR=./scripting/home/
# The CaosDB file system root.
# The file hierarchy of CaosDB's internal file system starts at this folder.
# An absolute file path of File objects within CaosDB is relative to this folder.
FILE_SYSTEM_ROOT=./CaosDBFileSystem/FileSystemRoot/
# Path to the drop off box.
# This is were users can place files that should be picked up by the CaosDB drop off box program.
DROP_OFF_BOX=./CaosDBFileSystem/DropOffBox/
# Location of temporary files
# All temporary files with the exception of files created by the scripting API will go into this folder.
TMP_FILES=./CaosDBFileSystem/TMP/
# Shared folder
# Additional folder for longer term storage of scripting API output.
# In contrast to the script's working directory, these subdirectories are publicly accessible.
# TODO: add more details
SHARED_FOLDER=./CaosDBFileSystem/Shared/
# Path to the chown script which is needed by the drop off box in order to change permissions of files.
CHOWN_SCRIPT=./misc/chown_script/caosdb_chown_dropoffbox
# This file is responsible for setting individual user and group permissions.
USER_SOURCES_INI_FILE=./conf/ext/usersources.ini
# The default state of users that are not configured in the usersources file
# TODO: add more details
NEW_USER_DEFAULT_ACTIVITY=INACTIVE
# If set to true, unauthenticated access to the database is possible with an anonymous user.
AUTH_OPTIONAL=FALSE
# --------------------------------------------------
# MySQL settings
# --------------------------------------------------
# Hostname of the mysql instance used by CaosDB
MYSQL_HOST=localhost
# Port of the mysql instance
MYSQL_PORT=3306
# Database name of the mysql database
MYSQL_DATABASE_NAME=caosdb
# User name for connecting to mysql
MYSQL_USER_NAME=caosdb
# Password for the user
MYSQL_USER_PASSWORD=caosdb
# Schema of mysql procedures and tables which is required by this CaosDB instance
MYSQL_SCHEMA_VERSION=v2.1.1
CONTEXT_ROOT=
# --------------------------------------------------
# Server options
# --------------------------------------------------
# The context root is a prefix which allows running multiple instances of CaosDB using the same
# hostname and port.
CONTEXT_ROOT=
# HTTPS port of this server instance.
SERVER_PORT_HTTPS=443
# HTTP port of this server instance.
SERVER_PORT_HTTP=80
# TODO: description missing
INITIAL_CONNECTIONS=1
# TODO: description missing
MAX_CONNECTIONS=10
# --------------------------------------------------
# HTTPS options
# --------------------------------------------------
# TODO: Descriptions missing
HTTPS_ENABLED_PROTOCOLS=TLSv1.3 TLSv1.2
HTTPS_DISABLED_PROTOCOLS=SSLv3 SSLv2Hello TLSv1.1 TLSv1.0
HTTPS_ENABLED_CIPHER_SUITES=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_AES_128_GCM_SHA256 TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_CCM_SHA256 TLS_AES_128_CCM_8_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
HTTPS_DISABLED_CIPHER_SUITES=TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA TLS_RSA_WITH_AES_256_CBC_SHA TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA TLS_ECDH_RSA_WITH_AES_256_CBC_SHA TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA TLS_RSA_WITH_AES_128_CBC_SHA TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA TLS_ECDH_RSA_WITH_AES_128_CBC_SHA TLS_ECDHE_ECDSA_WITH_RC4_128_SHA TLS_ECDHE_RSA_WITH_RC4_128_SHA TLS_ECDH_ECDSA_WITH_RC4_128_SHA TLS_ECDH_RSA_WITH_RC4_128_SHA TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHASSL_RSA_WITH_RC4_128_MD5 SSL_RSA_WITH_3DES_EDE_CBC_SHA SSL_RSA_WITH_RC4_128_SHA TLS_DHE_RSA_WITH_AES_256_CBC_SHA TLS_DHE_DSS_WITH_AES_256_CBC_SHA TLS_DHE_RSA_WITH_AES_128_CBC_SHA TLS_DHE_DSS_WITH_AES_128_CBC_SHA SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
INITIAL_CONNECTIONS=1
# TODO: Please check
# Password for the private key for the HTTPS server.
CERTIFICATES_KEY_PASSWORD=
# Path to the keystore which typically ends in jks.
CERTIFICATES_KEY_STORE_PATH=
# Password of the keystore which stores the private key.
CERTIFICATES_KEY_STORE_PASSWORD=
MAX_CONNECTIONS=10
# --------------------------------------------------
# Timeout settings
# --------------------------------------------------
# The session timeout after which the cookie expires.
# 10 min
SESSION_TIMEOUT_MS=600000
# TODO: Description missing
# 7days
ACTIVATION_TIMEOUT_MS=604800000
# TODO: description missing
WEBUI_HTTP_HEADER_CACHE_MAX_AGE=28800
# --------------------------------------------------
# Mail settings
# --------------------------------------------------
# The handler that treats sent mails.
# The default handler pipes mails to a file.
MAIL_HANDLER_CLASS=caosdb.server.utils.mail.ToFileHandler
# The file were the ToFileHanlder pipes messages to.
MAIL_TO_FILE_HANDLER_LOC=./
# --------------------------------------------------
# Admin settings
# # --------------------------------------------------
# Name of the administrator of this instance
ADMIN_NAME=CaosDB Admin
# Email of the administrator of this instance
ADMIN_EMAIL=
# An URL to the bugtracker for managing instance related bugs.
BUGTRACKER_URI=
# If set to true MySQL stores transaction benchmarks for all SQL queries. Used for benchmarking and debugging.
TRANSACTION_BENCHMARK_ENABLED=true
# Location of the configuration file for the CaosDB cache.
CACHE_CONF_LOC=./conf/core/cache.ccf
# Set this option to true to lobally disable caching. Used for debugging.
CACHE_DISABLE=false
# The server is allowed to create symlinks to files and folders within this whitelist of directories.
INSERT_FILES_IN_DIR_ALLOWED_DIRS=
# TODO: please check
# Sudo password of the system.
# Needed by the drop off box to set file permissions.
SUDO_PASSWORD=
# If set to true ACL checks are circumvented during querying.
# TODO: add more details
QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS=TRUE
# TODO: add description and possible options
CHECK_ENTITY_ACL_ROLES_MODE=MUST
# Location of the initial ACL file for entities.
# TODO: add more details
GLOBAL_ENTITY_PERMISSIONS_FILE=./conf/core/global_entity_permissions.xml
CERTIFICATES_KEY_PASSWORD=
CERTIFICATES_KEY_STORE_PATH=
CERTIFICATES_KEY_STORE_PASSWORD=
WEBUI_HTTP_HEADER_CACHE_MAX_AGE=28800
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment