mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
83 lines
2.5 KiB
Django/Jinja
83 lines
2.5 KiB
Django/Jinja
[database]
|
|
name = {{ aurweb_db }}
|
|
user = {{ aurweb_db_user }}
|
|
password = {{ vault_aurweb_db_password }}
|
|
|
|
[options]
|
|
aurwebdir = {{ aurweb_dir }}
|
|
{% if maintenance is defined and maintenance %}
|
|
enable_maintenance = 1
|
|
maintenance-exceptions = {{ maintenance_remote_machine }}
|
|
{% else %}
|
|
enable-maintenance = 0
|
|
{% endif %}
|
|
localedir = {{ aurweb_dir }}/web/locale/
|
|
cache = {{ aurweb_cache }}
|
|
cache_pkginfo_ttl = {{ aurweb_cache_pkginfo_ttl }}
|
|
aur_location = https://{{ aurweb_domain }}
|
|
git_clone_uri_anon = https://{{ aurweb_domain }}/%s.git
|
|
git_clone_uri_priv = ssh://{{ aurweb_user }}@{{ aurweb_domain }}/%s.git
|
|
redis_address = redis://localhost
|
|
{% if aurweb_environment_type == "dev" %}
|
|
; Toggles traceback display in templates/errors/500.html.
|
|
traceback = 1
|
|
{% endif %}
|
|
|
|
[ratelimit]
|
|
request_limit = {{ aurweb_request_limt }}
|
|
window_length = {{ aurweb_window_length }}
|
|
|
|
[fingerprints]
|
|
Ed25519 = SHA256:RFzBCUItH9LZS0cKB5UE6ceAYhBD5C8GeOBip8Z11+4
|
|
ECDSA = SHA256:uTa/0PndEgPZTf76e1DFqXKJEXKsn7m9ivhLQtzGOCI
|
|
RSA = SHA256:5s5cIyReIfNNVGRFdDbe3hdYiI5OelHGpw2rOUud3Q8
|
|
|
|
[auth]
|
|
git-serve-cmd = /usr/local/bin/aurweb-git-serve.sh
|
|
|
|
[serve]
|
|
repo-path = {{ aurweb_git_dir }}
|
|
git-shell-cmd = /usr/bin/sh
|
|
git-update-cmd = /usr/local/bin/aurweb-git-update.sh
|
|
ssh-cmdline = ssh {{ aurweb_user }}@{{ aurweb_domain }}
|
|
|
|
[update]
|
|
max-blob-size = 500000
|
|
|
|
[aurblup]
|
|
db-path = {{ aurweb_dir }}/aurblup
|
|
server = https://mirror.pkgbuild.com/%s/os/x86_64
|
|
|
|
[mkpkglists]
|
|
packagesfile = {{ aurweb_dir }}/archives/packages.gz
|
|
packagesmetafile = {{ aurweb_dir }}/archives/packages-meta-v1.json.gz
|
|
packagesmetaextfile = {{ aurweb_dir }}/archives/packages-meta-ext-v1.json.gz
|
|
pkgbasefile = {{ aurweb_dir }}/archives/pkgbase.gz
|
|
userfile = {{ aurweb_dir }}/archives/users.gz
|
|
|
|
[git-archive]
|
|
; One week in seconds
|
|
popularity-interval = 604800
|
|
|
|
; Git Archive repository locations
|
|
metadata-repo = {{ aurweb_dir }}/metadata.git
|
|
users-repo = {{ aurweb_dir }}/users.git
|
|
pkgbases-repo = {{ aurweb_dir }}/pkgbases.git
|
|
pkgnames-repo = {{ aurweb_dir }}/pkgnames.git
|
|
|
|
[notifications]
|
|
notify-cmd = aurweb-notify
|
|
{% if aurweb_environment_type == "dev" %}
|
|
sendmail = {{ aurweb_dir }}/util/sendmail
|
|
{% endif %}
|
|
{# Gitlab project and token used for traceback reports. #}
|
|
gitlab-instance = {{ vault_aurweb_gitlab_instance }}
|
|
error-project = {{ vault_aurweb_error_project }}
|
|
error-token = {{ vault_aurweb_error_token }}
|
|
|
|
[fastapi]
|
|
session_secret = {{ vault_aurweb_secret }}
|
|
|
|
[tracing]
|
|
otlp_endpoint = http://{{ hostvars['monitoring.archlinux.org']['wireguard_address'] }}:4318
|