DockerPrograms/Pacoloco/pacoloco.yaml
2023-12-22 12:51:58 -07:00

35 lines
1.5 KiB
YAML

port: 9129 # set in docker-compose
cache_dir: /var/cache/pacoloco # set in docker-compose
purge_files_after: 360000 # 360000 seconds or 100 hours, 0 to disable
download_timeout: 3600 # download will timeout after 3600 seconds
repos:
system:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-artix
world:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-artix
galaxy:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-artix
lib32:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-artix
universe:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-universe
extra:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-arch
community:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-arch
multilib:
mirrorlist: /etc/pacman.d/mirrorlist-reflector-arch
user_agent: Pacoloco/1.2
# optional section, add it if you want to enable prefetching
prefetch:
# standard cron expression (https://en.wikipedia.org/wiki/Cron#CRON_expression) to define how frequently prefetch,
# see https://github.com/gorhill/cronexpr#implementation for documentation.
cron: 0 0 3 * * * *
# defaults to 30, set it to a higher value than the number of consecutive days you don't update your systems
# It deletes and stop prefetch packages(and db links) when not downloaded after ttl_unaccessed_in_days
# days that it had been updated.
ttl_unaccessed_in_days: 30
# defaults to 300, it deletes and stop prefetch packages which hadn't
# been either updated upstream or requested for ttl_unupdated_in_days.
ttl_unupdated_in_days: 300