Page MenuHomeSoftware Heritage
Paste P1178

swh-web config
ActivePublic

Authored by anlambert on Sep 28 2021, 2:07 PM.
storage:
cls: remote
# url: http://localhost:5002/
# url: http://storage0.internal.staging.swh.network:5002
url: http://moma.internal.softwareheritage.org:5002/
indexer_storage:
cls: remote
url: http://saam.internal.softwareheritage.org:5007/
# url: http://storage0.euwest.azure.internal.softwareheritage.org:5007/
# url: http://localhost:5007/
vault:
cls: remote
# url: http://localhost:5005/
url: http://vangogh.euwest.azure.internal.softwareheritage.org:5005/
debug: true
throttling:
cache_uri: 127.0.0.1:11211
scopes:
swh_api:
limiter_rate:
default: 120/h
exempted_networks:
#- 127.0.0.0/8
swh_vault_cooking:
limiter_rate:
default: 120/h
GET: 60/m
exempted_networks:
- 127.0.0.0/8
swh_save_origin:
limiter_rate:
default: 120/h
POST: 2/h
exempted_networks:
- 127.0.0.0/8
swh_api_origin_visit_latest:
limiter_rate:
default: 120/h
exempted_networks:
- 127.0.0.0/8
swh_api_origin_search:
limiter_rate:
default: 60/m
exempted_networks:
- 127.0.0.0/8
scheduler:
cls: remote
# url: http://localhost:5008/
url: http://saatchi.internal.softwareheritage.org:5008/
production_db:
name: swh-web
host: localhost
port: 5432
user: anlambert
password: toto
deposit:
private_api_url: https://deposit.softwareheritage.org/1/private/
private_api_user: swhworker
private_api_password: medico-hatbox-wrote-bosomy-simple
secret_key: toto
allowed_hosts:
- '*'
serve_assets: true
port: 5004
# e2e_tests_mode: false
es_workers_index_url: http://esnode1.internal.softwareheritage.org:9200/swh_workers-*
keycloak:
server_url:
# server_url: http://localhost:8080/auth/
# server_url: https://auth.softwareheritage.org/auth/
realm_name: SoftwareHeritage
search:
cls: remote
url: http://moma.internal.softwareheritage.org:5010
metadata_search_backend: swh-indexer_storage
#search:
#cls: elasticsearch
#hosts:
#- http://localhost:9200

Event Timeline

anlambert updated the paste's language from autodetect to yaml.