mirror of
https://github.com/jonasrosland/gitmirror.git
synced 2025-05-10 20:05:33 +02:00
20 lines
No EOL
873 B
Text
20 lines
No EOL
873 B
Text
# GitHub Personal Access Token (create one at https://github.com/settings/tokens)
|
|
# Required scopes: repo (for private repositories)
|
|
# For public repositories, this is optional but recommended
|
|
GITHUB_TOKEN=your_github_token
|
|
|
|
# Gitea Access Token (create one in your Gitea instance under Settings > Applications)
|
|
# Required permissions: read:user, write:repository, write:issue
|
|
GITEA_TOKEN=your_gitea_token
|
|
|
|
# Your Gitea instance URL (no trailing slash)
|
|
GITEA_URL=https://your-gitea-instance.com
|
|
|
|
# Secret key for the web UI (OPTIONAL)
|
|
# This key is used to secure Flask sessions and flash messages
|
|
# If not provided, a random key will be automatically generated at container start
|
|
# SECRET_KEY=your_secret_key
|
|
|
|
# Log retention days (OPTIONAL, defaults to 30 days)
|
|
# This setting controls how long log files are kept before being automatically deleted
|
|
LOG_RETENTION_DAYS=30 |