]> Git — Sourcephile - gargantext.git/blob - gargantext.ini_toModify
[FIX] Missing file
[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_PARSERS = 1000000
37 MAX_DOCS_SCRAPERS = 10000
38
39 [server]
40 # Server config (TODO connect in ReaderMonad)
41 ALLOWED_ORIGIN = http://localhost
42 ALLOWED_ORIGIN_PORT = 8008
43
44 ALLOWED_HOST = localhost
45 ALLOWED_HOST_PORT = 3000
46
47 JWT_SETTINGS = TODO
48
49
50 [network]
51 # Emails From address (sent by smtp)
52 MAIL = username@gargantext.org
53 HOST = localhost
54 # if remote smtp host
55 # HOST_USER = user
56 # HOST_password = password
57
58 [database]
59 # PostgreSQL access
60 DB_HOST = 127.0.0.1
61 DB_PORT = 5432
62 DB_NAME = gargandbV5
63 DB_USER = gargantua
64 DB_PASS = PASSWORD_TO_CHANGE
65
66 [logs]
67 LOG_FILE = /var/log/gargantext/backend.log
68 LOG_LEVEL = LevelDebug
69 LOG_FORMATTER = verbose
70
71 [mail]
72 MAIL_PORT = 25
73 MAIL_HOST = localhost
74 MAIL_USER = gargantext
75 MAIL_PASSWORD =
76 MAIL_FROM =
77 # NoAuth | Normal | SSL | TLS | STARTTLS
78 MAIL_LOGIN_TYPE = Normal