mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
|
{
|
||
|
watch: false # Watch for changes (dev only)
|
||
|
debug: false # Debug mode
|
||
|
pretty_json: false # prettify json response
|
||
|
return_stack: true # return stack trace on error
|
||
|
log_calls: true # Log API Calls
|
||
|
|
||
|
# if 'return_stack' is true and error contains a status code, return stack trace only for these status codes
|
||
|
# valid values are:
|
||
|
# - an integer number, specifying a status code
|
||
|
# - a tuple of (code, subcode or list of subcodes)
|
||
|
return_stack_on_code: [
|
||
|
[500, 0] # raise on internal server error with no subcode
|
||
|
]
|
||
|
|
||
|
listen {
|
||
|
ip : "0.0.0.0"
|
||
|
port: 8008
|
||
|
}
|
||
|
|
||
|
version {
|
||
|
required: false
|
||
|
default: 1.0
|
||
|
}
|
||
|
|
||
|
mongo {
|
||
|
# controls whether FieldDoesNotExist exception will be raised for any extra attribute existing in stored data
|
||
|
# but not declared in a data model
|
||
|
strict: false
|
||
|
}
|
||
|
|
||
|
auth {
|
||
|
# verify user tokens
|
||
|
verify_user_tokens: false
|
||
|
|
||
|
# max token expiration timeout in seconds (1 year)
|
||
|
max_expiration_sec: 31536000
|
||
|
|
||
|
# default token expiration timeout in seconds (30 days)
|
||
|
default_expiration_sec: 2592000
|
||
|
|
||
|
# cookie containing auth token, for requests arriving from a web-browser
|
||
|
session_auth_cookie_name: "trains_token_basic"
|
||
|
}
|
||
|
|
||
|
cors {
|
||
|
origins: "*"
|
||
|
}
|
||
|
|
||
|
default_company: "d1bd92a3b039400cbafc60a7a5b1e52b"
|
||
|
}
|