84 lines
1.2 KiB
Plaintext
84 lines
1.2 KiB
Plaintext
# Docker volumes and data directories
|
|
# Ignore gitea directory contents but keep important configuration files
|
|
gitea/*
|
|
# Exception: Track Gitea configuration files (important for server recovery)
|
|
!gitea/gitea/
|
|
!gitea/gitea/conf/
|
|
!gitea/gitea/conf/app.ini
|
|
!gitea/gitea/home/
|
|
!gitea/gitea/home/.gitconfig
|
|
|
|
# Ignore Gitea data files (even if parent directories are un-ignored)
|
|
gitea/gitea/attachments/
|
|
gitea/gitea/avatars/
|
|
gitea/gitea/gitea.db
|
|
gitea/gitea/indexers/
|
|
gitea/gitea/queues/
|
|
gitea/gitea/repo-archive/
|
|
gitea/gitea/repo-avatars/
|
|
gitea/gitea/sessions/
|
|
gitea/gitea/gitea
|
|
gitea/gitea/cert.pem
|
|
gitea/gitea/key.pem
|
|
gitea/gitea/log/
|
|
gitea/gitea/tmp/
|
|
gitea/gitea/packages/
|
|
gitea/gitea/jwt/
|
|
gitea/gitea/actions_artifacts/
|
|
gitea/gitea/actions_log/
|
|
|
|
https_portal/data/
|
|
https_portal/log/
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.env
|
|
|
|
# SSL certificates and keys
|
|
*.pem
|
|
*.key
|
|
*.crt
|
|
*.cert
|
|
*.csr
|
|
|
|
# Logs
|
|
*.log
|
|
logs/
|
|
*.log.*
|
|
|
|
# IDE and editor files
|
|
.cursor/
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# Backup and old directories
|
|
*-OLD/
|
|
*-old/
|
|
*.bak
|
|
*.backup
|
|
*.tmp
|
|
|
|
# OS-specific files
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
tmp/
|
|
temp/
|
|
|
|
# Containerd (if not needed in repo)
|
|
containerd/
|