forked from quantifiedcode/quantifiedcode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.yml
More file actions
executable file
·77 lines (77 loc) · 2.4 KB
/
default.yml
File metadata and controls
executable file
·77 lines (77 loc) · 2.4 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
68
69
70
71
72
73
74
75
76
77
# Base settings: valid for all environments
backend:
url: /api
# by default, we use an in-memory instance of SQLite for testing.
db_url_test: 'sqlite+pysqlite:///:memory:'
paths:
repositories: "data/repositories"
tasks: "data/tasks"
celery:
config:
task_serializer: json
accept_content: ['json']
result_serializer: json
timezone: Europe/Oslo
enable_utc: true
worker_hijack_root_logger: false
broker_url: 'amqp://qc:qc@localhost:5672/qc'
result_backend: 'amqp://qc:qc@localhost:5672/qc'
task_default_queue: tasks
task_queues:
- {name: tasks, routing_key: 'task'}
- {name: analysis, routing_key: 'analysis'}
- {name: reset, routing_key: 'reset'}
- {name: fetch, routing_key: 'fetch'}
- {name: email, routing_key: 'email'}
task_default_exchange: tasks
task_track_started: true
task_default_exchange_type: topic
task_default_routing_key: task.default
worker_max_tasks_per_child: 1
worker_concurrency: 15
worker_prefetch_multiplier: 1
task_acks_late: true
task_ignore_result: false
result_expires: 1200
celerybeat-schedule:
delete-projects:
task: quantifiedcode.backend.tasks.periodic.start_delete_tasks
schedule:
timedelta:
seconds: 30
analyze-projects:
task: quantifiedcode.backend.tasks.periodic.start_analysis_tasks
schedule:
timedelta:
seconds: 30
reset-projects:
task: quantifiedcode.backend.tasks.periodic.start_reset_tasks
schedule:
timedelta:
seconds: 30
frontend:
# changing this URL currently requires us to change the
# corresponding baseURL in /frontend/src/js/config.js as well
url: ''
static_url: &static_url /static
template_folder: templates
static_folder: build/static
optimized_static_folder: build/optimized/static
render_context:
static_url: *static_url
media_path: src/assets
settings: {} #will be returned by the 'settings' API endpoint
urls: &frontend_urls
login: "/user/login"
signup: "/user/signup"
explore: "/explore"
project: "/project"
projects: "/projects"
render_context:
# the current_year is added through Python settings#
# (as this is a dynamic variable)
frontend_urls: *frontend_urls
# plugins to load
plugins:
git:
module: quantifiedcode.plugins.git