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 (do not use quotes)
20 REPO_FILEPATH = FILEPATH_TO_CHANGE
25 # FRAMES (i.e. iframe sources used in various places on the frontend)
26 #FRAME_WRITE_URL = http://write.frame.gargantext.org/
27 FRAME_WRITE_URL = URL_TO_CHANGE
28 #FRAME_CALC_URL = http://calc.frame.gargantext.org/
29 FRAME_CALC_URL = URL_TO_CHANGE
31 FRAME_VISIO_URL = URL_TO_CHANGE
33 FRAME_SEARX_URL = URL_TO_CHANGE
34 FRAME_ISTEX_URL = URL_TO_CHANGE
36 MAX_DOCS_PARSERS = 1000000
37 MAX_DOCS_SCRAPERS = 10000
40 # Server config (TODO connect in ReaderMonad)
41 ALLOWED_ORIGIN = http://localhost
42 ALLOWED_ORIGIN_PORT = 8008
44 ALLOWED_HOST = localhost
45 ALLOWED_HOST_PORT = 3000
51 # Emails From address (sent by smtp)
52 MAIL = username@gargantext.org
56 # HOST_password = password
64 DB_PASS = PASSWORD_TO_CHANGE
67 LOG_FILE = /var/log/gargantext/backend.log
68 LOG_LEVEL = LevelDebug
69 LOG_FORMATTER = verbose