]> Git — Sourcephile - gargantext.git/blob - gargantext.ini_toModify
[DEBUG] some debug messages
[gargantext.git] / gargantext.ini_toModify
1 [gargantext]
2
3 # Main url serving the FrontEnd
4 URL = http://localhost
5
6 # Main API url serving the BackEnd
7 URL_BACKEND_API = http://localhost:8008/api/v1.0
8
9 # Needed to instantiate the first users and first data
10 MASTER_USER = gargantua
11
12 # SECURITY WARNING: keep the secret key used in production secret!
13 SECRET_KEY = PASSWORD_TO_CHANGE
14
15
16 # Data path to local files
17 DATA_FILEPATH = FILEPATH_TO_CHANGE
18
19 # Data path to local files (do not use quotes)
20 REPO_FILEPATH = FILEPATH_TO_CHANGE
21
22
23
24 # [external]
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
30
31 FRAME_VISIO_URL = URL_TO_CHANGE
32
33 FRAME_SEARX_URL = URL_TO_CHANGE
34 FRAME_ISTEX_URL = URL_TO_CHANGE
35
36 MAX_DOCS_SCRAPERS = 10000
37
38 [server]
39 # Server config (TODO connect in ReaderMonad)
40 ALLOWED_ORIGIN = http://localhost
41 ALLOWED_ORIGIN_PORT = 8008
42
43 ALLOWED_HOST = localhost
44 ALLOWED_HOST_PORT = 3000
45
46 JWT_SETTINGS = TODO
47
48
49 [network]
50 # Emails From address (sent by smtp)
51 MAIL = username@gargantext.org
52 HOST = localhost
53 # if remote smtp host
54 # HOST_USER = user
55 # HOST_password = password
56
57 [database]
58 # PostgreSQL access
59 DB_HOST = 127.0.0.1
60 DB_PORT = 5432
61 DB_NAME = gargandbV5
62 DB_USER = gargantua
63 DB_PASS = PASSWORD_TO_CHANGE
64
65 [logs]
66 LOG_FILE = /var/log/gargantext/backend.log
67 LOG_LEVEL = LevelDebug
68 LOG_FORMATTER = verbose