]> Git — Sourcephile - gargantext.git/blob - gargantext.ini_toModify
Merge branch 'dev' into 145-graphExplorerSearch
[gargantext.git] / gargantext.ini_toModify
1 [gargantext]
2
3 # Main url serving the FrontEnd
4 URL = http://localhost
5
6 # The instance name
7 BACKEND_NAME = localhost
8
9 # Main API url serving the BackEnd
10 URL_BACKEND_API = http://localhost:8008/api/v1.0
11
12 # Needed to instantiate the first users and first data
13 MASTER_USER = gargantua
14
15 # SECURITY WARNING: keep the secret key used in production secret!
16 SECRET_KEY = PASSWORD_TO_CHANGE
17
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 = http://write.frame.gargantext.org/
30 FRAME_WRITE_URL = URL_TO_CHANGE
31 #FRAME_CALC_URL = http://calc.frame.gargantext.org/
32 FRAME_CALC_URL = URL_TO_CHANGE
33
34 FRAME_VISIO_URL = URL_TO_CHANGE
35
36 FRAME_SEARX_URL = URL_TO_CHANGE
37 FRAME_ISTEX_URL = URL_TO_CHANGE
38
39 MAX_DOCS_PARSERS = 1000000
40 MAX_DOCS_SCRAPERS = 10000
41
42 [server]
43 # Server config (TODO connect in ReaderMonad)
44 ALLOWED_ORIGIN = http://localhost
45 ALLOWED_ORIGIN_PORT = 8008
46
47 ALLOWED_HOST = localhost
48 ALLOWED_HOST_PORT = 3000
49
50 JWT_SETTINGS = TODO
51
52
53 [network]
54 # Emails From address (sent by smtp)
55 MAIL = username@gargantext.org
56 HOST = localhost
57 # if remote smtp host
58 # HOST_USER = user
59 # HOST_password = password
60
61 [database]
62 # PostgreSQL access
63 DB_HOST = 127.0.0.1
64 DB_PORT = 5432
65 DB_NAME = gargandbV5
66 DB_USER = gargantua
67 DB_PASS = PASSWORD_TO_CHANGE
68
69 [logs]
70 LOG_FILE = /var/log/gargantext/backend.log
71 LOG_LEVEL = LevelDebug
72 LOG_FORMATTER = verbose
73
74 [mail]
75 MAIL_PORT = 25
76 MAIL_HOST = localhost
77 MAIL_USER = gargantext
78 MAIL_PASSWORD =
79 MAIL_FROM =
80 # NoAuth | Normal | SSL | TLS | STARTTLS
81 MAIL_LOGIN_TYPE = Normal