[frontend] # Main url serving the FrontEnd url = "http://localhost" backend_name = "localhost" # Main API url serving the BackEnd url_backend_api = "http://localhost:8008/api/v1.0" jwt_settings = "TODO" [frontend.cors] allowed-origins = [ "https://demo.gargantext.org" , "https://formation.gargantext.org" , "https://academia.sub.gargantext.org" , "https://cnrs.gargantext.org" , "https://imt.sub.gargantext.org" , "https://helloword.gargantext.org" , "https://complexsystems.gargantext.org" , "https://europa.gargantext.org" , "https://earth.sub.gargantext.org" , "https://health.sub.gargantext.org" , "https://msh.sub.gargantext.org" , "https://dev.sub.gargantext.org" , "http://localhost:8008" , "http://localhost:8108" , "http://localhost:3000" ] use-origins-for-hosts = true [frontend.microservices.proxy] port = 8009 enabled = false [secrets] # Needed to instantiate the first users and first data master_user = "gargantua" # SECURITY WARNING: keep the secret key used in production secret! # SECRET_KEY is the seed, from which hashes for passwords and hackmd # frame_id seeds are computed. secret_key = "something_speciaL" # JWK token jwk_file = "dev.jwk" [paths] # Data path to local files data_filepath = FILEPATH_TO_CHANGE [apis] [apis.epo] api_url = EPO_API_URL [apis.scrapyd] url = "http://localhost:6800" [external] [external.frames] # FRAMES (i.e. iframe sources used in various places on the frontend) #write_url = "http://write.frame.gargantext.org" write_url = URL_TO_CHANGE #calc_url = "http://calc.frame.gargantext.org" calc_url = URL_TO_CHANGE visio_url = URL_TO_CHANGE searx_url = URL_TO_CHANGE istex_url = URL_TO_CHANGE [jobs] #MAX_DOCS_PARSERS = 100 max_docs_parsers = 4000 max_docs_scrapers = 4000 # in seconds js_job_timeout = 6000 js_id_timeout = 6000 [database] # PostgreSQL access host = "127.0.0.1" port = 5432 name = "gargandbV5" user = "gargantua" pass = PASSWORD_TO_CHANGE [logs] log_file = "/var/log/gargantext/backend.log" log_level = "LevelDebug" log_formatter = "verbose" [mail] #port = 25 #host = localhost #user = gargantext #password = #from = # NoAuth | Normal | SSL | TLS | STARTTLS #login_type = NoAuth # Emails From address (sent by smtp) mail_from = "username@gargantext.org" smtp_host = "localhost" # if remote smtp host # HOST_USER = user # HOST_password = password [notifications] central-exchange = { bind = "tcp://*:5560", connect = "tcp://localhost:5560" } dispatcher = { bind = "tcp://*:5561", connect = "tcp://localhost:5561" } [nlp] # Possible choices (see Gargantext.Core.NLP): # - spacy:// (for http:// Spacy) # - spacys:// (for https:// Spacy) # - corenlp:// (for http:// CoreNLP) # - corenlps:// (for https:// CoreNLP) # - johnsnow:// (for http:// JohnSnow) # - johnsnows:// (for https:// JohnSnow) EN = "spacy://localhost:8000" FR = "spacy://localhost:8001" [worker] # After this number of seconds, the job will be available again. # You can set timeout for each job individually and this is the # preferred method over using defaultVt. default_visibility_timeout = 1 # default delay before job is visible to the worker default_delay = 0 # if you leave the same credentials as in [database] section above, # workers will try to set up the `gargantext_pgmq` database # automatically [worker.database] host = "127.0.0.1" port = 5432 name = "gargantext_pgmq" user = "gargantua" pass = PASSWORD_TO_CHANGE [[worker.definitions]] name = "default" queue = "default"