forked from FORTH-ICS-INSPIRE/artemis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
110 lines (93 loc) · 2.79 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
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# Docker specific configs
# use only letters and numbers for the project name
COMPOSE_PROJECT_NAME=artemis
DB_VERSION=24
GUI_ENABLED=true
SYSTEM_VERSION=latest
HISTORIC=false
# Redis config
REDIS_HOST=redis
REDIS_PORT=6379
# API config
CONFIG_HOST=configuration
CONFIG_PORT=3000
API_HOST=postgrest
API_PORT=3000
DATABASE_HOST=database
# Monitor-specific configs
RIS_ID=8522
# DB details (used by all containers)
DB_HOST=postgres
DB_PORT=5432
DB_NAME=artemis_db
DB_USER=artemis_user
DB_PASS=Art3m1s
DB_SCHEMA=public
DB_AUTOCLEAN=24
DB_BACKUP=true
DB_HIJACK_DORMANT=24
# Frontend config
WEBAPP_PORT=4200
ADMIN_PASS=admin1234
ARTEMIS_WEB_HOST=artemis.com
SESSION_TIMEOUT=1800
INACTIVITY_TIMEOUT=900
LIMIT_WINDOW=900000
LIMIT_REQUESTS=20
CAPTCHA_WINDOW=900000
CAPTCHA_TRIES=4
ARTEMIS_WEB_BASE_DIR=
# MongoDB configuration
MONGODB_USER=admin
MONGODB_PASS=pass
MONGODB_HOST=mongodb
MONGODB_PORT=27017
MONGODB_NAME=artemis-web
# LDAP configuration
LDAP_ENABLED=true
LDAP_HOST=ldap
LDAP_PORT=10389
LDAP_PROTOCOL=ldap
LDAP_BIND_DN=cn=admin,dc=planetexpress,dc=com
LDAP_BIND_SECRET=GoodNewsEveryone
LDAP_SEARCH_BASE=ou=people,dc=planetexpress,dc=com
LDAP_SEARCH_FILTER=(mail={{username}})
LDAP_SEARCH_ATTRIBUTES=mail,uid
LDAP_GROUP_SEARCH_BASE=ou=people,dc=planetexpress,dc=com
LDAP_GROUP_SEARCH_FILTER=(member={{dn}})
LDAP_GROUP_SEARCH_ATTRIBUTES=mail,uid
LDAP_EMAIL_FIELDNAME=mail
LDAP_ADMIN_GROUP=admin_staff
# rabbitmq config
RABBITMQ_HOST=rabbitmq
RABBITMQ_PORT=5672
RABBITMQ_USER=guest
RABBITMQ_PASS=guest
RABBITMQ_IO_THREAD_POOL_SIZE=128
# hasura config
HASURA_HOST=graphql
HASURA_PORT=8080
HASURA_GUI=false
# secret keys
HASURA_SECRET_KEY=@rt3m1s.
JWT_SECRET_KEY=44fe431cdc896ccab691ad0599f4e0a12690ce1ededebe57b825823bc6b4d24f
CSRF_SECRET=P*3NGEEaJV3yUGDJA9428EQRg!ad
API_KEY=29870959469dc320ff80c02dcccaf0a62394459e22e6acfdce7cf40f94281d85
CAPTCHA_SECRET=44fe431cdc896ccab691ad0599f4e0a12690ce1ededebe57b825823bc6b4d24f
# custom log filter
HIJACK_LOG_FILTER=[{"community_annotation":"critical"},{"community_annotation":"NA"}]
# fields to preserve in hijack logs
HIJACK_LOG_FIELDS=["prefix","hijack_as","type","time_started","time_last","peers_seen","configured_prefix","timestamp_of_config","asns_inf","time_detected","key","community_annotation","end_tag","outdated_parent","hijack_url"]
# timeout (sec) since last seen BGP update for monitors
MON_TIMEOUT_LAST_BGP_UPDATE=3600
# percentage of monitor peers that have seen hijack updates, required to see corresponding withdrawals to declare a hijack as withdrawn
WITHDRAWN_HIJACK_THRESHOLD=80
# flag to signal whether ARTEMIS should auto-enforce intended process state (running/stopped) on startup
AUTO_RECOVER_PROCESS_STATE=true
# RPKI config
RPKI_VALIDATOR_ENABLED=false
RPKI_VALIDATOR_HOST=routinator
RPKI_VALIDATOR_PORT=3323
# TEST ONLY
TEST_ENV=false