3 # Main url serving the FrontEnd
6 # Main API url serving the BackEnd
7 URL_BACKEND_API = http://localhost:8008/api/v1.0
9 # Needed to instantiate the first users and first data
10 MASTER_USER = gargantua
12 # SECURITY WARNING: keep the secret key used in production secret!
13 SECRET_KEY = PASSWORD_TO_CHANGE
16 # Data path to local files
17 DATA_FILEPATH = FILEPATH_TO_CHANGE
19 # Data path to local files
20 DATA_FILEPATH = FILEPATH_TO_CHANGE
22 # Data path to local files (do not use quotes)
23 REPO_FILEPATH = FILEPATH_TO_CHANGE
28 # FRAMES (i.e. iframe sources used in various places on the frontend)
29 FRAME_WRITE_URL = URL_TO_CHANGE
30 FRAME_CALC_URL = URL_TO_CHANGE
32 FRAME_SEARX_URL = URL_TO_CHANGE
33 FRAME_ISTEX_URL = URL_TO_CHANGE
35 MAX_DOCS_SCRAPERS = 10000
38 # Server config (TODO connect in ReaderMonad)
39 ALLOWED_ORIGIN = http://localhost
40 ALLOWED_ORIGIN_PORT = 8008
42 ALLOWED_HOST = localhost
43 ALLOWED_HOST_PORT = 3000
49 # Emails From address (sent by smtp)
50 MAIL = username@gargantext.org
54 # HOST_password = password
62 DB_PASS = PASSWORD_TO_CHANGE
65 LOG_FILE = /var/log/gargantext/backend.log
66 LOG_LEVEL = LevelDebug
67 LOG_FORMATTER = verbose