Files
gitea-auto-urls/.env.example
Pihkaal fd8f06b1ee
All checks were successful
Deploy / build (push) Successful in 25s
Deploy / deploy (push) Successful in 1s
feat: periodical synchronization to handle repo renaming
2026-09-25 20:34:31 +02:00

18 lines
567 B
Plaintext

PORT="3000"
# Gitea base url (like https://git.pihkaal.me)
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"
# Periodic resync, needed because Gitea sends no webhook on repo rename (0 to disable)
SYNC_INTERVAL_MINUTES="5"