]> Git — Sourcephile - gargantext.git/blob - gargantext.ini_toModify
Merge branch 'dev-phylo' of ssh://gitlab.iscpif.fr:20022/gargantext/haskell-gargantex...
[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
20 DATA_FILEPATH = FILEPATH_TO_CHANGE
21
22 # Data path to local files (do not use quotes)
23 REPO_FILEPATH = FILEPATH_TO_CHANGE
24
25
26
27 # [external]
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
31
32 FRAME_SEARX_URL = URL_TO_CHANGE
33 FRAME_ISTEX_URL = URL_TO_CHANGE
34
35 MAX_DOCS_SCRAPERS = 10000
36
37 [server]
38 # Server config (TODO connect in ReaderMonad)
39 ALLOWED_ORIGIN = http://localhost
40 ALLOWED_ORIGIN_PORT = 8008
41
42 ALLOWED_HOST = localhost
43 ALLOWED_HOST_PORT = 3000
44
45 JWT_SETTINGS = TODO
46
47
48 [network]
49 # Emails From address (sent by smtp)
50 MAIL = username@gargantext.org
51 HOST = localhost
52 # if remote smtp host
53 # HOST_USER = user
54 # HOST_password = password
55
56 [database]
57 # PostgreSQL access
58 DB_HOST = 127.0.0.1
59 DB_PORT = 5432
60 DB_NAME = gargandbV5
61 DB_USER = gargantua
62 DB_PASS = PASSWORD_TO_CHANGE
63
64 [logs]
65 LOG_FILE = /var/log/gargantext/backend.log
66 LOG_LEVEL = LevelDebug
67 LOG_FORMATTER = verbose