-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
56 lines (40 loc) · 1.66 KB
/
.env.sample
File metadata and controls
56 lines (40 loc) · 1.66 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
# RabbitMQ connection URL
REGISTRY_URL=amqp://guest:guest@localhost
# RabbitMQ Consumer prefetch value (How many tasks can do simultaneously)
SIMULTANEOUS_TASKS=1
# Environment name for the notifications (to distinguish between notifications from different servers)
ENVIRONMENT_NAME=dev
# Log level. Available: error,warn,info,versobe,debug,silly. See more https://github.com/winstonjs/winston#logging
#LOG_LEVEL=verbose
# MongoDB URL for connecting to accounts database
MONGO_ACCOUNTS_DATABASE_URI=mongodb://localhost:27017/hawk
# MongoDB URL for connecting to events database
MONGO_EVENTS_DATABASE_URI=mongodb://localhost:27017/hawk_events
# JWT secret key for projects tokens
JWT_SECRET=qwerty
# Event hash secret
EVENT_SECRET=hell
# @codex_bot webhook for reports
CODEX_BOT_WEBHOOK=
# Port for VictoriaMetrics metrics endpoint.
PROMETHEUS_METRICS_PORT=
# Host for metrics endpoint binding.
PROMETHEUS_METRICS_HOST=0.0.0.0
# Path for metrics endpoint.
PROMETHEUS_METRICS_PATH=/metrics
# Grouper memory log controls
# Number of handled tasks between memory checkpoint logs
GROUPER_MEMORY_LOG_EVERY_TASKS=50
# Number of handled tasks in one sustained-growth evaluation window
GROUPER_MEMORY_GROWTH_WINDOW_TASKS=200
# Sustained-growth warning threshold in megabytes (MB)
GROUPER_MEMORY_GROWTH_WARN_MB=64
# Single-handle growth warning threshold in megabytes (MB)
GROUPER_MEMORY_HANDLE_GROWTH_WARN_MB=16
# project token for error catching
HAWK_CATCHER_TOKEN=
# Feature flags
## If true, Grouper worker will send messages about new events to Notifier worker
IS_NOTIFIER_WORKER_ENABLED=false
## Url for telegram notifications about workspace blocks and unblocks
TELEGRAM_LIMITER_CHAT_URL=