gitmirror/.env.example
Jonas Rosland 9a35774df1 Moved logging to volume instead of mount, and added better rotation
Signed-off-by: Jonas Rosland <jonas.rosland@gmail.com>
2025-04-04 00:54:20 -04:00

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