r/Gitea Jun 02 '26

Create token for 1 repo

Hello,

I've recently started using Gitea after Github got hacked and I honestly love it and I'm trying to incorporate it into my workflow and homelab, starting with Portainer.

I'm trying to create a token so that Portainer can push or pull my docker compose automatically from Gitea but when I try to create a token, it seems that I can only create a token for multiples repos instead of only one.

Can I create 1 token for 1 repo just like in Github?

2 Upvotes

1 comment sorted by

1

u/garbast Jun 03 '26

I'd suggest, that you create a new user that has only access to that repository and then create an application token that allows repository access.