-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env
More file actions
66 lines (53 loc) · 1.85 KB
/
.env
File metadata and controls
66 lines (53 loc) · 1.85 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
ENV=
PROJECT_NAME=care
CONTENT_SERVER_PORT=3001
PUBLISHED_PORT=8080
# postgres db
POSTGRES_HOST=127.0.0.1
POSTGRES_PORT=5432
POSTGRES_CAREDB=care
POSTGRES_TESTDB=care_test
# basic user credentials
ADMIN_EMAIL=admin@admin.com
ADMIN_PWD=admincare
GUEST_EMAIL=guest@guest.com
GUEST_PWD=guestguest
# nlp server
SERVICE_NLP_ENABLED=true
SERVICE_NLP_URL=http://localhost:4852
# Logging
LOGGING_PATH=./logs
LOGGING_LEVEL=info
LOGGING_ALLOW_FRONTEND=true
VITE_APP_WEBSOCKET_URL=http://localhost:3001
VITE_APP_SERVER_URL=http://localhost:3001
VITE_APP_TITLE=CARE
APP_LINK_FEEDBACK=https://docs.google.com/forms/d/e/1FAIpQLSfS6Ju1FdvrErGvtqLXge5i6OYUHpbSXEFcXHKA0z_kTvMotg/viewform?usp=sf_link
APP_LINK_PROJECT=https://intertext.ukp-lab.de/
PUBLISH_DOC=1
PUBLISH_API=1
# CORS origins, separated by comma
ADDITIONAL_CORS_ORIGINS=https://peer.ukp.informatik.tu-darmstadt.de,https://care.ukp.informatik.tu-darmstadt.de
# RPCs
RPC_TEST_HOST=127.0.0.1
RPC_TEST_PORT=3010
RPC_MOODLE_HOST=127.0.0.1
RPC_MOODLE_PORT=3011
RPC_PDF_HOST=127.0.0.1
RPC_PDF_PORT=3012
# System Statistics
# PG_STATS_INTERVAL_MS:
# Interval in milliseconds between each PostgreSQL statistics snapshot
# (backend/db/stats.js). Lower = more frequent insight, higher = less overhead.
# Each run issues several lightweight SELECTs; choose a balance (e.g. 60000 for 1 min).
PG_STATS_INTERVAL_MS=300000
# PG_STATS_MIN_AGE_MS:
# Intended minimum query runtime (ms) for inclusion in the long‑running queries list.
# NOTE: Current implementation uses a fixed "interval '1 second'" in SQL, so this
# value is presently informational unless the code is refactored to use it.
PG_STATS_MIN_AGE_MS=1000
# PG_STATS_TOP_N:
# Intended maximum number of long‑running active queries to log.
# NOTE: Current SQL has a hard LIMIT 10; change only matters if code is updated
# to parameterize the LIMIT.
PG_STATS_TOP_N=10