-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.yaml
42 lines (34 loc) · 1.12 KB
/
settings.yaml
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
38
39
40
41
# Default environment
default:
# Documented in LogSettings class
runtime_log_level: info
runtime_log_filename_prefix: main
# Documented in ContextSettings class
runtime_context_packages:
- cl.runtime
- stubs.cl.runtime
runtime_context_db_class: cl.runtime.db.sql.sqlite_db.SqliteDb
# Documented in ApiSettings class
# - Default CORSMiddleware settings are only applied on localhost
# - If this group of settings is omitted, the app will run on localhost:7008
runtime_api_hostname: localhost
runtime_api_port: 7008
# CORSMiddleware settings in ApiSettings class, uncomment and modify if not running in localhost
# runtime_api_allow_origins:
# - 127.0.0.1
# runtime_api_allow_origin_regex: null
# runtime_api_allow_credentials: True
# runtime_api_allow_methods:
# - "*"
# runtime_api_allow_headers:
# - "*"
# runtime_api_expose_headers: null
# runtime_api_max_age: null
# Documented in PreloadSettings class
runtime_preload_dirs:
- preloads/cl
- preloads/stubs
# Test environment
test:
# Documented in LogSettings class
runtime_log_filename_prefix: tests