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