Skip to content

Instantly share code, notes, and snippets.

@nothub
Last active April 25, 2026 10:17
Show Gist options
  • Select an option

  • Save nothub/79201e0fed4ea15c6db59c97da97635b to your computer and use it in GitHub Desktop.

Select an option

Save nothub/79201e0fed4ea15c6db59c97da97635b to your computer and use it in GitHub Desktop.
renovate codeberg docker-compose + systemd deployment
RENOVATE_TOKEN="CODEBERG_TOKEN"
RENOVATE_GITHUB_COM_TOKEN="GITHUB_TOKEN"
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:
[Unit]
Description=Run Renovate Bot periodically
[Timer]
OnCalendar=hourly
RandomizedDelaySec=10m
[Install]
WantedBy=timers.target
[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