-
Notifications
You must be signed in to change notification settings - Fork 10
/
girder.local.cfg
38 lines (32 loc) · 1012 Bytes
/
girder.local.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[global]
server.socket_host = "0.0.0.0"
server.socket_port = 8080
server.thread_pool = 100
tools.proxy.on = True
[auth]
# Use "bcrypt" or "sha512"
hash_alg = "bcrypt"
bcrypt_rounds = 12
[database]
uri = "mongodb://mongodb:27017/girder"
replica_set = None
[server]
mode = "production"
api_root = "/api/v1"
static_root = "/static"
api_static_root = "../static"
heartbeat = 15
# [logging]
# log_root="/path/to/log/root"
# If log_root is set error and info will be set to error.log and info.log within
# log root respectively. The paths below will override that setting and are
# ABSOLUTE paths.
# error_log_file="/path/to/error.log"
# info_log_file="/path/to/info.log"
[users]
email_regex = "^[\w\.\-]*@[\w\.\-]*\.\w+$"
login_regex = "^[a-z][\da-z\-]{3}[\da-z\-]*$"
login_description = "Login must be at least 4 characters, start with a letter, and may only contain \
letters, numbers, or dashes."
password_regex = ".{6}.*"
password_description = "Password must be at least 6 characters."