gargantext.ini_toModify 1.43 KB
Newer Older
1
[gargantext]
2

3 4 5 6 7
# Main url serving the FrontEnd
URL = http://localhost

# Main API url serving the BackEnd
URL_BACKEND_API = http://localhost:8008/api/v1.0
8

Alexandre Delanoë's avatar
Alexandre Delanoë committed
9
# Needed to instantiate the first users and first data
10 11 12
MASTER_USER = gargantua

# SECURITY WARNING: keep the secret key used in production secret!
13 14
SECRET_KEY      = PASSWORD_TO_CHANGE

15

16 17 18
# Data path to local files
DATA_FILEPATH = FILEPATH_TO_CHANGE

Alexandre Delanoë's avatar
Alexandre Delanoë committed
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 32
FRAME_VISIO_URL  = URL_TO_CHANGE

33 34 35
FRAME_SEARX_URL  = URL_TO_CHANGE
FRAME_ISTEX_URL  = URL_TO_CHANGE

36 37
MAX_DOCS_SCRAPERS = 10000

38 39 40 41 42 43 44 45 46 47 48
[server]
# Server config (TODO connect in ReaderMonad)
ALLOWED_ORIGIN = http://localhost
ALLOWED_ORIGIN_PORT = 8008

ALLOWED_HOST = localhost
ALLOWED_HOST_PORT = 3000

JWT_SETTINGS = TODO


49 50 51 52 53 54 55 56
[network]
# Emails From address (sent by smtp)
MAIL = username@gargantext.org
HOST = localhost
# if remote smtp host
# HOST_USER     = user
# HOST_password = password

57
[database]
58 59 60 61 62 63
# PostgreSQL access
DB_HOST = 127.0.0.1
DB_PORT = 5432
DB_NAME = gargandbV5
DB_USER = gargantua
DB_PASS = PASSWORD_TO_CHANGE
64 65

[logs]
66
LOG_FILE = /var/log/gargantext/backend.log
67
LOG_LEVEL = LevelDebug
68
LOG_FORMATTER = verbose