Files
ALR-updater/alr-updater.example.toml

46 lines
2.0 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Базовый каталог для хранения всех репозиториев
reposBaseDir = "/var/cache/alr-updater"
# Конфигурация репозиториев (можно настроить несколько)
[repositories.alr-repo]
repoURL = "https://gitea.plemya-x.ru/Plemya-x/alr-repo.git"
[repositories.alr-repo.commit]
# Имя и адрес электронной почты, которые будут использоваться при фиксации git
name = "CHANGE ME"
email = "CHANGE ME"
[repositories.alr-repo.credentials]
# Имя пользователя и пароль для git push. Используйте личный токен доступа в качестве пароля для Gitea.
username = "CHANGE ME"
password = "CHANGE ME"
# Дополнительные репозитории для мониторинга
[repositories.alr-LG]
repoURL = "https://git.linux-gaming.ru/Linux-Gaming/alr-LG.git"
[repositories.alr-LG.commit]
name = "CHANGE ME"
email = "CHANGE ME"
[repositories.alr-LG.credentials]
username = "CHANGE ME"
password = "CHANGE ME"
[repositories.alr-default]
repoURL = "https://gitea.plemya-x.ru/Plemya-x/alr-default.git"
[repositories.alr-default.commit]
name = "CHANGE ME"
email = "CHANGE ME"
[repositories.alr-default.credentials]
username = "CHANGE ME"
password = "CHANGE ME"
[webhook]
# Хэш пароля для webhook. Сгенерируйте его, используя `alr-updater -g`.
pwd_hash = "CHANGE ME"
[logging]
# Включить логирование в файл
enable_file = false
# Путь к файлу логов (по умолчанию /var/log/alr-updater.log)
log_file = "/var/log/alr-updater.log"
# Максимальный размер файла логов в байтах (по умолчанию 100MB)
# При достижении этого размера файл будет ротирован
max_size = 104857600