feat: fetch gitea repos of given user to generate corresponding traefik middleware config
All checks were successful
Build and Push Docker Image / build (push) Successful in 12s

This commit is contained in:
Pihkaal
2025-12-21 17:12:20 +01:00
parent 5dcd12a8a8
commit 999848d581
4 changed files with 94 additions and 0 deletions

View File

@@ -1 +1,15 @@
PORT="3000"
# Gitea base url (like https://git.pihkaal.xyz)
GITEA_URL=""
# Gitea main username (for me it's pihkaal)
GITEA_USERNAME=""
# Create an access token here /user/settings/applications
# Required permissions:
# - read:repository
# - read:user
GITEA_TOKEN=""
# Create your own in /user/settings/hooks
GITEA_WEBHOOK_SECRET=""
# File used by traefik to create the middleware
TEMPLATE_FILE="gitea-rewrites.yml.in"
OUTPUT_FILE="gitea-rewrites.yml"