clearml-server/webserver/config/default/webserver.conf

48 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-06-11 15:55:04 +00:00
# requested token expiration in seconds (one month)
apiserver_token_expiration: 2592000
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
debug: false
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
flask {
# Uncomment next line to disable login requirement while testing (or unit-testing)
TESTING: False
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
# Uncomment to allow reloading of templates if the caches version differs from the latest version
TEMPLATES_AUTO_RELOAD: True
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
# Flask-Login session protection ('basic', 'strong' or null)
SESSION_PROTECTION: basic
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
SESSION_COOKIE_HTTPONLY: True
REMEMBER_COOKIE_HTTPONLY: True
SESSION_COOKIE_SECURE: False
REMEMBER_COOKIE_SECURE: False
}
listen {
ip : "0.0.0.0"
port: 8080
}
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
auth {
cookies {
httponly: true # allow only http to access the cookies (no JS etc)
secure: false # not using HTTPS
domain: null # Limit to localhost is not supported
2019-06-10 21:24:35 +00:00
}
2019-06-11 15:55:04 +00:00
session_auth_cookie_name: "trains_token_basic"
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
user_token_expiration_sec: 3600
}
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
docs {
# Default filename used when file not found error is reported when serving docs.
# This usually happans when the path is to a folder and not a file.
default_filename: "index.html"
}
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
default_company: "d1bd92a3b039400cbafc60a7a5b1e52b"
2019-06-10 21:24:35 +00:00
2019-06-11 15:55:04 +00:00
redirect_to_https: false