0
0
mirror of https://github.com/yanhao98/renovate-example.git synced 2025-07-13 00:40:48 +08:00
2024-10-16 10:03:05 +08:00
2024-10-16 10:03:05 +08:00
2024-10-09 15:33:44 +08:00
2024-10-09 15:33:44 +08:00
2024-10-16 10:03:05 +08:00
2024-10-15 19:56:48 +08:00

Renovate


Gitea 仓库配置1

  1. 创建一个Gitea的账号。
  2. 创建该账号的Personal Access Token
  3. 增加该账号为协作者
  4. Github 的 Token 不需要勾选任何权限。

启动 Renovate

docker-compose.yml
name: renovate
volumes:
  tmp:
    driver: local
x-common-services: &common-services
  pull_policy: always
  network_mode: bridge
  restart: always
  volumes:
    - tmp:/tmp
  image: renovate/renovate
  entrypoint: /bin/bash
  command: -c "while true; do docker-entrypoint.sh renovate; sleep 1h; done"
x-common-env: &common-env
  LOG_LEVEL: debug
  TZ: Asia/Shanghai
  RENOVATE_AUTODISCOVER: true
  RENOVATE_PLATFORM: gitea
  RENOVATE_INCLUDE_MIRRORS: true
  GITHUB_COM_TOKEN: ❗️
services:
  # docker exec -it renovate-git.1-h.cc-1 docker-entrypoint.sh renovate
  git.1-h.cc:
    <<: *common-services
    environment:
      <<: *common-env
      RENOVATE_ENDPOINT: https://git.1-h.cc
      RENOVATE_TOKEN: ❗️

配置参考

Description
No description provided
Readme 1.9 MiB
Languages
JSON5 100%