-
-
Save nothub/79201e0fed4ea15c6db59c97da97635b to your computer and use it in GitHub Desktop.
renovate codeberg docker-compose + systemd deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RENOVATE_TOKEN="CODEBERG_TOKEN" | |
| RENOVATE_GITHUB_COM_TOKEN="GITHUB_TOKEN" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| renovate: | |
| container_name: 'renovate' | |
| image: 'renovate/renovate:latest' | |
| restart: 'no' | |
| pull_policy: 'always' | |
| volumes: | |
| - 'renovate-cache:/tmp/renovate' | |
| env_file: | |
| - '.env' | |
| environment: | |
| TZ: 'Europe/Berlin' | |
| LOG_LEVEL: 'info' | |
| LOG_FORMAT: 'pretty' | |
| RENOVATE_PLATFORM: 'forgejo' | |
| RENOVATE_ENDPOINT: 'https://codeberg.org/api/v1' | |
| RENOVATE_BASE_DIR: '/tmp/renovate' | |
| RENOVATE_PERSIST_REPO_DATA: true | |
| RENOVATE_AUTODISCOVER: true | |
| RENOVATE_AUTODISCOVER_FILTER: 'fhuebner/*' | |
| RENOVATE_ABANDONMENT_THRESHOLD: '6 monthes' | |
| RENOVATE_CONFIG_VALIDATION_ERROR: true | |
| #RENOVATE_DRY_RUN: true | |
| volumes: | |
| renovate-cache: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Run Renovate Bot periodically | |
| [Timer] | |
| OnCalendar=hourly | |
| RandomizedDelaySec=10m | |
| [Install] | |
| WantedBy=timers.target |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Renovate Bot | |
| After=network-online.target docker.service | |
| Wants=network-online.target docker.service | |
| [Service] | |
| Type=oneshot | |
| WorkingDirectory=/opt/services/renovate/ | |
| ExecStart=/usr/bin/docker compose --ansi never --progress quiet run --no-TTY --quiet-pull --rm renovate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment