• Przemyslaw Kaminski's avatar
    Squashed commit of the following: · a23870d5
    Przemyslaw Kaminski authored
    commit 163304df
    Author: Alexandre Delanoë <devel+git@delanoe.org>
    Date:   Tue Oct 8 18:39:54 2024 +0200
    
        [FIX] conflict
    
    commit 82c68074
    Merge: f7b76918 5623161c
    Author: Alexandre Delanoë <devel+git@delanoe.org>
    Date:   Tue Oct 8 18:28:55 2024 +0200
    
        Merge remote-tracking branch 'origin/dev-websockets-node-update' into dev
    
    commit f7b76918
    Merge: fe7a92cc 88655f68
    Author: Alexandre Delanoë <devel+git@delanoe.org>
    Date:   Tue Oct 8 18:28:53 2024 +0200
    
        [FIX] conflicts
    
    commit 5623161c
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 18:18:23 2024 +0200
    
        [ws] implement node update (rename, move) with notifications to parents
    
    commit 88655f68
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 18:05:25 2024 +0200
    
        Squashed commit of the following:
    
        commit f775d4a3
        Merge: 76b557ea d2f4b89d
        Author: Alexandre Delanoë <devel+git@delanoe.org>
        Date:   Tue Oct 8 16:27:53 2024 +0200
    
            Merge remote-tracking branch 'origin/dev-guidelines-update' into dev
    
        commit 76b557ea
        Merge: 2925d008 50c77ea2
        Author: Alexandre Delanoë <devel+git@delanoe.org>
        Date:   Tue Oct 8 16:27:27 2024 +0200
    
            Merge remote-tracking branch 'origin/304-dev-pubmed-api-not-in-toml' into dev
    
        commit d2f4b89d
        Author: Przemysław Kaminski <pk@intrepidus.pl>
        Date:   Tue Oct 8 15:37:54 2024 +0200
    
            DEVELOPER_GUIDELINES: update about git amend
    
            This is the result of Autumn workshop 2024
    
        commit 50c77ea2
        Author: Przemysław Kaminski <pk@intrepidus.pl>
        Date:   Tue Oct 8 15:15:28 2024 +0200
    
            [notifications] fix for send
    
            sendNonblocking threw an error initially. I just do a compromise and
            timeout the normal send (which blocks infinitely sometimes)
    
        commit 025b80b6
        Author: Przemysław Kaminski <pk@intrepidus.pl>
        Date:   Tue Oct 8 14:10:56 2024 +0200
    
            [docker] fix network: host, fix caddyfile
    
        commit 2925d008
        Author: Christian Merten <christian@merten.dev>
        Date:   Tue Oct 8 10:34:17 2024 +0200
    
            fix arbitrary instance
    
        commit e8fb3db6
        Author: Christian Merten <christian@merten.dev>
        Date:   Tue Oct 8 10:13:40 2024 +0200
    
            fix: re-add lost instances
    
        commit b86d2e61
        Author: Przemysław Kaminski <pk@intrepidus.pl>
        Date:   Tue Oct 8 10:09:18 2024 +0200
    
            [toml] remove pubmed api key from config
    
            It's set up in user settings instead and has been for a long time.
    
        commit c06de5ef
        Merge: ab710337 a0ec337b
        Author: Christian Merten <christian@merten.dev>
        Date:   Tue Oct 8 09:35:55 2024 +0200
    
            Merge remote-tracking branch 'gitlab/dev' into cm/update-corpus-button
    
        commit ab710337
        Author: Christian Merten <christian@merten.dev>
        Date:   Fri Apr 26 22:32:33 2024 +0200
    
            feat: update corpus endpoint
    
    commit fe7a92cc
    Author: Christian Merten <christian@merten.dev>
    Date:   Tue Oct 8 17:19:53 2024 +0200
    
        fix: no longer update graphs and phylos on corpus update
    
    commit f775d4a3
    Merge: 76b557ea d2f4b89d
    Author: Alexandre Delanoë <devel+git@delanoe.org>
    Date:   Tue Oct 8 16:27:53 2024 +0200
    
        Merge remote-tracking branch 'origin/dev-guidelines-update' into dev
    
    commit 76b557ea
    Merge: 2925d008 50c77ea2
    Author: Alexandre Delanoë <devel+git@delanoe.org>
    Date:   Tue Oct 8 16:27:27 2024 +0200
    
        Merge remote-tracking branch 'origin/304-dev-pubmed-api-not-in-toml' into dev
    
    commit d2f4b89d
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 15:37:54 2024 +0200
    
        DEVELOPER_GUIDELINES: update about git amend
    
        This is the result of Autumn workshop 2024
    
    commit 50c77ea2
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 15:15:28 2024 +0200
    
        [notifications] fix for send
    
        sendNonblocking threw an error initially. I just do a compromise and
        timeout the normal send (which blocks infinitely sometimes)
    
    commit 025b80b6
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 14:10:56 2024 +0200
    
        [docker] fix network: host, fix caddyfile
    
    commit ee0db8c1
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 12:39:12 2024 +0200
    
        [nix] add nanomsg to nix pkgs
    
        Also, fix ./start to use gargantext-settings.toml
    
    commit 2925d008
    Author: Christian Merten <christian@merten.dev>
    Date:   Tue Oct 8 10:34:17 2024 +0200
    
        fix arbitrary instance
    
    commit e8fb3db6
    Author: Christian Merten <christian@merten.dev>
    Date:   Tue Oct 8 10:13:40 2024 +0200
    
        fix: re-add lost instances
    
    commit b86d2e61
    Author: Przemysław Kaminski <pk@intrepidus.pl>
    Date:   Tue Oct 8 10:09:18 2024 +0200
    
        [toml] remove pubmed api key from config
    
        It's set up in user settings instead and has been for a long time.
    
    commit c06de5ef
    Merge: ab710337 a0ec337b
    Author: Christian Merten <christian@merten.dev>
    Date:   Tue Oct 8 09:35:55 2024 +0200
    
        Merge remote-tracking branch 'gitlab/dev' into cm/update-corpus-button
    
    commit ab710337
    Author: Christian Merten <christian@merten.dev>
    Date:   Fri Apr 26 22:32:33 2024 +0200
    
        feat: update corpus endpoint
    a23870d5
gargantext-settings.toml_toModify 3.36 KB
[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

# 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"