-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.env
45 lines (36 loc) · 2.16 KB
/
.env
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
# database variables
DATABASE_URL=postgres://postgres:[email protected]:5432/hugin_api_prod
DEV_DATABASE_URL=postgres://postgres:[email protected]:5432/hugin_api_dev
TEST_DATABASE_URL=postgres://postgres:[email protected]:5432/hugin_api_test
# node configuration
SYS_HUGIN_NODE_SERVER=blocksum.org:11898
# hugin syncer config
SYS_HUGIN_SYNCER_SLEEP=2000 # 2000 ms default, set this to a higher/lower if you don't want to do api calls every 2 seconds
# criteria configuration
SYS_CRITERIA_USERS_INCLUDE="" # set to only include specific users - cannot be used with both exclude
SYS_CRITERIA_USERS_EXCLUDE="" # set to include all users except - cannot be used both with include
SYS_CRITERIA_BOARDS_INCLUDE="" # set to only include specific boards - cannot be used with both exclude
SYS_CRITERIA_BOARDS_EXCLUDE="" # set to include all boards except - cannot be used both with include
SYS_CRITERIA_KEYWORDS_INCLUDE="" # set to only include specific keywords - cannot be used with both exclude
SYS_CRITERIA_KEYWORDS_EXCLUDE="" # set to include all keywords except - cannot be used both with include
SYS_CRITERIA_KEYWORDS_CURSEWORDS=true # controls if curse words should be excluded
# swagger configuration
SYS_SWAGGER_CONTACT_NAME="Marcus Cvjeticanin"
SYS_SWAGGER_CONTACT_EMAIL="[email protected]"
SYS_SWAGGER_CONTACT_URL="https://github.com/kryptokrona/hugin-api/issues"
# alert configuration
SYS_ALERT_MY_ADDRESS="SEKReVPbxzC4tCGtLkxe8Kep4FwPRzbcp8qd3DZ6UiYaeaie8PCoFu7QCnJvCvWFqiAywkQHxdnuK9LP6kxGM7Gd6LKqJhBNW5e"
SYS_ALERT_PRIVATE_KEY="d3774a1b294f971bbfffcb739782dfea93eb9dfb72e22a741ca5673d6051600e"
SYS_ALERT_GROUP="d21d56ffa153150a5cd93cde5fac29c6a0729612fb216a5d4551b9602cae3a92"
SYS_ALERT_NICKNAME="hugin-alert"
SYS_ALERT_HOSTNAME="api.hugin.chat"
# other
SYS_PROJECT_NAME="Hugin API"
SYS_API_PORT=3000
SYS_WS_PORT=8080
NODE_ENV=development
API_BASE_PATH=/api
SYS_RATELIMIT_WINDOW_MS=900000
SYS_RATELIMIT_MAX=1000
SYS_RATELIMIT_POST_MESSAGE_WINDOW_MS=60000
SYS_RATELIMIT_POST_MESSAGE_MAX=100