-
Notifications
You must be signed in to change notification settings - Fork 1
/
repromon.ini
55 lines (43 loc) · 1.08 KB
/
repromon.ini
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
[DEFAULT]
[settings]
# repromon_app settings
ENV=${ENV_NAME}
# admin initial password
INITIAL_ADMIN_PASSWORD=${INITIAL_ADMIN_PASSWORD}
# API key security config
APIKEY_SECRET=${APIKEY_SECRET}
APIKEY_SALT=${APIKEY_SALT}
# JWT security/auth
TOKEN_SECRET_KEY=${TOKEN_SECRET_KEY}
TOKEN_ALGORITHM=HS256
TOKEN_EXPIRE_SEC=86400
# CORS XSS config
# separated by new-line:
CORS_ALLOW_ORIGINS=${CORS_ALLOW_ORIGINS}
#
UI_APP_PATH=${ROOT_PATH}/repromon_ng/build
#UI_APP_PATH=${ROOT_PATH}/repromon_ng/dist/repromon_ng
UI2_APP_PATH=${ROOT_PATH}/repromon_vue/build
#UI_APP_PATH=${ROOT_PATH}/repromon_vue/dist
# for debug purposes only, when specified used as
# user to create default singleton security context
#DEBUG_USERNAME=user1
WEB_HOST=${WEB_HOST}
WEB_PORT=${WEB_PORT}
[db]
#SQLAlchemy DB engine configuration
url=${DB_URL}
arg_schema=${DB_SCHEMA}
echo=True
pool_size=20
pool_recycle=3600
[uvicorn]
# fastapi uvicorn configuration
host=${WEB_BIND_ADDRESS}
port=${WEB_BIND_PORT}
ssl_keyfile=${WEB_SSL_KEY_PATH}
ssl_certfile=${WEB_SSL_CERT_PATH}
#workers=4
#reload=True
#log_level=debug
#access_log=false