]> Git — Sourcephile - gargantext.git/blob - gargantext.ini_toModify
Merge branch 'dev' into 151-dev-pubmed-api-key
[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 PUBMED_API_KEY = ENTER_PUBMED_API_KEY
26
27
28 # [external]
29 # FRAMES (i.e. iframe sources used in various places on the frontend)
30 #FRAME_WRITE_URL = http://write.frame.gargantext.org/
31 FRAME_WRITE_URL = URL_TO_CHANGE
32 #FRAME_CALC_URL = http://calc.frame.gargantext.org/
33 FRAME_CALC_URL = URL_TO_CHANGE
34
35 FRAME_VISIO_URL = URL_TO_CHANGE
36
37 FRAME_SEARX_URL = URL_TO_CHANGE
38 FRAME_ISTEX_URL = URL_TO_CHANGE
39
40 MAX_DOCS_PARSERS = 1000000
41 MAX_DOCS_SCRAPERS = 10000
42
43 [server]
44 # Server config (TODO connect in ReaderMonad)
45 ALLOWED_ORIGIN = http://localhost
46 ALLOWED_ORIGIN_PORT = 8008
47
48 ALLOWED_HOST = localhost
49 ALLOWED_HOST_PORT = 3000
50
51 JWT_SETTINGS = TODO
52
53
54 [network]
55 # Emails From address (sent by smtp)
56 MAIL = username@gargantext.org
57 HOST = localhost
58 # if remote smtp host
59 # HOST_USER = user
60 # HOST_password = password
61
62 [database]
63 # PostgreSQL access
64 DB_HOST = 127.0.0.1
65 DB_PORT = 5432
66 DB_NAME = gargandbV5
67 DB_USER = gargantua
68 DB_PASS = PASSWORD_TO_CHANGE
69
70 [logs]
71 LOG_FILE = /var/log/gargantext/backend.log
72 LOG_LEVEL = LevelDebug
73 LOG_FORMATTER = verbose
74
75 [mail]
76 MAIL_PORT = 25
77 MAIL_HOST = localhost
78 MAIL_USER = gargantext
79 MAIL_PASSWORD =
80 MAIL_FROM =
81 # NoAuth | Normal | SSL | TLS | STARTTLS
82 MAIL_LOGIN_TYPE = Normal