this post was submitted on 24 Apr 2025
23 points (89.7% liked)

Selfhosted

62325 readers
1375 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Are there any guides out there for this? I can't seem to find anything. Renovates docs are good, but don't have a lot of detail on setting up the docker image for self hosting.

Thanks!

top 4 comments
sorted by: hot top controversial new old
[–] rhymepurple@lemmy.ml 9 points 1 year ago

I think that any guides you find for Gitea + Renovate should work still for Forgejo + Renovate.

I believe the process is:

  • Create Forgejo instance
  • Create a user for Renovate within Forgejo
  • Using the CLI on your local machine (or another tool to complete this step), create an SSH public/private key for the Renovate user
  • Log into Forgejo using the Renovate user and configure the previously created SSH keys and separately generate a Forgejo token
  • Create a Renovate instance with settings for at least RENOVATE_GIT_PRIVATE_KEY (SSH private key value), RENOVATE_TOKEN (Forgejo token value), RENOVATE_PLATFORM (gitea), RENOVATE_ENDPOINT (Forgejo API base URL), and any other Renovate settings that you may find helpful/necessary to configure (eg: GITHUB_COM_TOKEN, RENOVATE_AUTODISCOVER, etc.)
  • Depending on how you want things to work, you may need to give the Renovate Forgejo user access to individual repos
[–] fishynoob@infosec.pub 1 points 1 year ago (2 children)

What does renovate do again?

[–] bob@feddit.uk 7 points 1 year ago

Creates endless pain.

[–] Dust0741@lemmy.world 4 points 1 year ago

Makes a PR in a repo for updated versions. I.e. you have: image: nginx:1 And it'll make a PR for the latest version

A CI/CD tool will monitor for changes like this and redeploy.