-
Notifications
You must be signed in to change notification settings - Fork 2
/
test.env
47 lines (41 loc) · 1.27 KB
/
test.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
DEBUG=True
ASSETS_DEBUG=True
SECRET_KEY=WARNING_SECRET_KEY_MUST_BE_CHANGED_HERE
SQLALCHEMY_ECHO=False
SQLALCHEMY_RECORD_QUERIES=False
SQLALCHEMY_TRACK_MODIFICATIONS=False
DATABASE_URI=data/lettres.test.sqlite
#no security enabled (dev):
ELASTICSEARCH_URL=http://localhost:9200
#security enabled (prod):
#ELASTICSEARCH_URL=http://elastic:[email protected]:9200
SEARCH_RESULT_PER_PAGE=100
INDEX_PREFIX=lettres
DEFAULT_INDEX_NAME=lettres__testing__documents
APP_URL_PREFIX=/ecco
API_VERSION=1.0
API_URL_PREFIX=/ecco/api/1.0
IIIF_URL_PREFIX=/ecco/iiif
LOCAL_TMP_FOLDER=tmp
IIIF_MANIFEST_ENDPOINT=https://iiif.chartes.psl.eu/manifests/ecco
IIIF_COLLECTION_ENDPOINT=https://iiif.chartes.psl.eu/collections/ecco
# Flask-User settings
# Shown in and email templates and page footers
USER_APP_NAME=Lettres
USER_ENABLE_REGISTER=False
USER_ENABLE_REMEMBER_ME=False
USER_ENABLE_INVITE_USER=True
USER_REQUIRE_INVITATION=True
# Flask-Mail settings
USER_EMAIL_SENDER_NAME='ecco'
USER_EMAIL_SENDER_EMAIL='[email protected]'
MAIL_SERVER='relay.huma-num.fr'
MAIL_PORT=25
MAIL_USE_SSL=True
MAIL_USE_TLS=False
MAIL_DEBUG=True
# Flask-JWT-Extended settings
JWT_SECRET_KEY=super-secret-jwt-dev
#JWT_ACCESS_COOKIE_PATH=/ecco/api/1.0/login
#JWT_REFRESH_COOKIE_PATH=/ecco/api/1.0/refresh
#JWT_ACCESS_TOKEN_EXPIRES=10000