-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.yaml
More file actions
67 lines (55 loc) · 1.83 KB
/
settings.yaml
File metadata and controls
67 lines (55 loc) · 1.83 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Default environment
default:
# Documented in PackageSettings class
package_source_dirs:
cl.runtime: .
stubs.cl.runtime: .
# Documented in LogSettings class
log_level: info
log_filename_prefix: main
# Documented in EnvSettings class
env_id: Runtime
env_kind: TEMP
env_tenant: temp_tenant
# Documented in DbSettings class
db_id: temp_runtime_main
db_type: 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
api_hostname: localhost
api_port: 7008
# CORSMiddleware settings in ApiSettings class, uncomment and modify if not running in localhost
# api_allow_origins:
# - 127.0.0.1
# api_allow_origin_regex: null
# api_allow_credentials: True
# api_allow_methods:
# - "*"
# api_allow_headers:
# - "*"
# api_expose_headers: null
# api_max_age: null
# Documented in PreloadSettings class
preload_dirs:
- preloads/cl
- preloads/stubs
# Documented in CelerySettings class
celery_broker_uri: sqlalchemy+sqlite:///{project_dir}/celery-{context_id}.db
celery_multiprocess_pool: true # Enable multiprocess worker pool
celery_workers: 8 # Number of worker processes
celery_pool_type: solo # Each worker uses solo pool
celery_worker_restart_interval: 30 # Restart workers if unresponsive for 30 seconds
celery_worker_log_level: info
# Documented in FrontendSettings class
frontend_version: 2025.1217.0
frontend_dir: frontend-{frontend_version}
frontend_download_uri: https://github.com/compatibl/frontend/archive/refs/tags/{frontend_version}
# Test environment
testing:
# Documented in QaSettings class
qa_db_types:
- SqliteDb
- BasicMongoMockDb
# Documented in LogSettings class
log_filename_prefix: tests