-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
75 lines (71 loc) · 3.13 KB
/
config.yml
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
rabbitmq:
# Connection in the form of 'amqp://[user]:[password]@[host]:[port]?heartbeat=[heartbeat]'
connection:
# RabbitMQ host
host: ${RABBITMQ_HOST}:localhost
# RabbitMQ AMQP port. Used by AMQP 0-9-1 and 1.0 clients without and with TLS
port: ${RABBITMQ_PORT}:5672
# RabbitMQ user
user: ${RABBITMQ_USER}:alkemio-admin
# RabbitMQ password
password: ${RABBITMQ_PASSWORD}:alkemio!
# heartbeat
heartbeat: ${RABBITMQ_HEARTBEAT}:30
elasticsearch:
host: ${ELASTICSEARCH_URL}
api_key: ${ELASTICSEARCH_API_KEY}
retries: ${ELASTICSEARCH_RETRIES}:3
timeout: ${ELASTICSEARCH_TIMEOUT}:30000
tls:
ca_cert_path: ${ELASTIC_TLS_CA_CERT_PATH}:none
rejectUnauthorized: ${ELASTIC_TLS_REJECT_UNAUTHORIZED}:false
monitoring:
logging:
# A flag setting whether Winston Console transport will be enabled.
# If the flag is set to true logs of the appropriate level (see below) will be outputted to the console
# after the application has been bootstrapped.
# The NestJS bootstrap process is handled by the internal NestJS logging.
enabled: ${LOGGING_CONSOLE_ENABLED}:true
# Logging level for outputs to console.
# Valid values are log|error|warn|debug|verbose.
level: ${LOGGING_LEVEL_CONSOLE}:verbose
# The logging format will be in json - useful for parsing
# if disabled - will be in a human-readable form
json: ${LOGGING_FORMAT_JSON}:false
events:
# The index responsible for tracking the whiteboard events happening in a particular session
whiteboard_event_index: ${ELASTIC_INDEX_WHITEBOARD_EVENTS}:whiteboard-change-events
# The amount of logged information
# None = disabled;
# Lite = user + event type;
# Full = user + event type + delta of what was changed
mode: ${WHITEBOARD_EVENTS_LOGGING_MODE}:none
# MILLISECONDS of how long are the events buffered in memory before being sent
interval: ${WHITEBOARD_EVENTS_LOGGING_INTERVAL}:3000
settings:
# application level settings
application:
# queue
queue: ${QUEUE}:alkemio-whiteboards
# MILLISECONDS wait time for a response after a request on the message queue
queue_response_timeout: ${QUEUE_RESPONSE_TIMEOUT}:10000
# the collaboration experience
collaboration:
enabled: ${ENABLED}:true
#
port: ${COLLABORATION_PORT}:4002
# the window in which contributions are accepted to be counted towards a single contribution event;
# time is in SECONDS
contribution_window: ${CONTRIBUTION_WINDOW}:600
# MILLISECONDS after the first change was made to the whiteboard before it's autosaved.
# This is preventing saving on every change - instead, all the changes done in the last interval are saved only once.
save_interval: ${AUTOSAVE_INTERVAL}:2000
# SECONDS of inactivity before a collaborator is made view-only
collaborator_inactivity: ${COLLABORATOR_INACTIVITY}:1800
# how often the inactivity timer is reset;
# you want it to be large enough to not reset too frequently,
# but small enough to be accurate
reset_collaborator_mode_debounce: ${INACTIVITY_DEBOUNCE}:1000
rest:
# the REST API
port: ${REST_PORT}:4005