-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.env.example
68 lines (50 loc) · 1.93 KB
/
config.env.example
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
# Flask secret key (look at README.md how to generate it)
SECRET_KEY=
# runnig stage, eiter development or production
FLASK_CONFIG=development
# Administrator email - email address used for registration emails
ADMIN_EMAIL=
# initial password admin account, value is used only for acount initialization and not used later
ADMIN_PASSWORD=
# Database URL. Can be Postgres, sqlite, etc.
# DATABASE_URL=data-dev.sqlite
# Database URL. Can be Postgres, sqlite, etc.
# REDISTOGO_URL=http://localhost:6379
# data directory of users
USER_DATA_DIR=user_data
# users with editor role for given language specified in key appendix
EDITOR_USER_NAME_CS=editor.cs
EDITOR_USER_NAME_EN=editor.en
# all users with editor role for given language specified in key appendix, used for DSO description
ALL_EDITORS_USER_NAMES_CS=editor.cs,editor.en
# anonymous user - used for data of not registered users
ANONYMOUS_USER_NAME=anonymous
# initial git content repository, used by 'manage import_git_content'
GIT_CONTENT_REPOSITORY=
# optional path to ttf font used for chart texts
# CHART_FONT=
# optional path to ttf font used on PDFs
# PDF_FONT=
# image formats for fchart. Either png, jpg or avif.
CHART_IMG_FORMAT=jpg
# jpeg low quality used when chart is moving
CHART_JPEG_LOW_QUALITY=80
# jpeg quality used to render at the end of chart movement
CHART_JPEG_HIGH_QUALITY=95
# avif low quality used when chart is moving
CHART_AVIF_LOW_QUALITY=70
# avif quality used to render at the end of chart movement
CHART_AVIF_HIGH_QUALITY=90
# avif generation speed (1-9)
CHART_AVIF_SPEED=8
# width threshold for avif generation, if width<threshold then avif is used
CHART_AVIF_THRESHOLD_WIDTH=768
# path definitions to images
IMG_PATHS_COUNT=2
# define image path + text reference
IMG_PATHS_1_DIR=/static/content/users/ngcic/img/
IMG_PATHS_1_REF=
IMG_PATHS_2_DIR=/static/content/users/8mag/img/
IMG_PATHS_2_REF=
# path to default images
DEFAULT_IMG_DIR=/static/content/users/8mag/img/