updated gitignore
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
Some checks are pending
PVE2 Infrastructure Deploy / terraform (push) Waiting to run
This commit is contained in:
parent
5f5ba2e772
commit
2ddc9856dd
1 changed files with 72 additions and 167 deletions
239
.gitignore
vendored
239
.gitignore
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
# ===========================
|
# ===========================
|
||||||
# 1. SECRETS (Must Block)
|
# 1. SECRETS & ENVIRONMENT (CRITICAL)
|
||||||
# ===========================
|
# ===========================
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
|
|
@ -9,9 +9,12 @@
|
||||||
*.crt
|
*.crt
|
||||||
*.tfstate
|
*.tfstate
|
||||||
*.tfvars
|
*.tfvars
|
||||||
|
*.tfvars.json
|
||||||
|
override.tf
|
||||||
|
override.tf.json
|
||||||
|
|
||||||
# ===========================
|
# ===========================
|
||||||
# 2. GLOBAL GENERICS
|
# 2. SYSTEM & LOGS (Junk)
|
||||||
# ===========================
|
# ===========================
|
||||||
**/logs/
|
**/logs/
|
||||||
**/log/
|
**/log/
|
||||||
|
|
@ -21,194 +24,96 @@
|
||||||
**/backups/
|
**/backups/
|
||||||
**/Backups/
|
**/Backups/
|
||||||
**/BT_Backup/
|
**/BT_Backup/
|
||||||
|
*.log
|
||||||
|
crash.log
|
||||||
*.DS_Store
|
*.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
*.fastresume
|
|
||||||
*.torrent
|
|
||||||
*.jpg
|
|
||||||
*.vtt
|
|
||||||
lost+found
|
lost+found
|
||||||
|
|
||||||
# ===========================
|
# ===========================
|
||||||
# 3. DATABASES (Heavy Data)
|
# 3. DATABASES & BINARIES (Heavy Files)
|
||||||
# ===========================
|
# ===========================
|
||||||
**/db/
|
# SQLite (Standard for *arrs, HA, etc)
|
||||||
|
*.db
|
||||||
|
*.db-shm
|
||||||
|
*.db-wal
|
||||||
|
*.sqlite
|
||||||
|
*.sqlite3
|
||||||
|
*.sqlite-wal
|
||||||
|
*.sqlite-shm
|
||||||
|
|
||||||
|
# Heavy Directories
|
||||||
**/mysql/
|
**/mysql/
|
||||||
**/postgres/
|
**/postgres/
|
||||||
**/postgres_data/
|
**/postgres_data/
|
||||||
**/prometheus-db/
|
**/prometheus-db/
|
||||||
**/grafana-db/
|
**/grafana-db/
|
||||||
**/alertmanager-db/
|
**/influxdb/
|
||||||
**/stash-db/
|
**/mariadb/
|
||||||
**/wud-db/
|
**/mongo/
|
||||||
**/pg_subtrans
|
|
||||||
**/pg_wal
|
|
||||||
**/index-v2/
|
|
||||||
*.db-shm
|
|
||||||
**/komodo-postgres/
|
|
||||||
*.db
|
|
||||||
*.db-wal
|
|
||||||
|
|
||||||
# ===========================
|
# Archives & binaries
|
||||||
# 4. SERVARR STACK (Radarr/Sonarr/Lidarr)
|
|
||||||
# ===========================
|
|
||||||
# The posters/banners (Huge)
|
|
||||||
MediaCover/
|
|
||||||
# Error reporting cache
|
|
||||||
Sentry/
|
|
||||||
# ASP.NET temporary files
|
|
||||||
asp/
|
|
||||||
# Dupeguru scan results
|
|
||||||
scans/
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# 5. MEDIA SERVERS (Plex/Jellyfin)
|
|
||||||
# ===========================
|
|
||||||
# Plex Metadata (Can be GBs in size)
|
|
||||||
**/Library/
|
|
||||||
**/transcode/
|
|
||||||
# Jellyfin metadata (if local)
|
|
||||||
**/metadata/
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# 6. APP SPECIFIC
|
|
||||||
# ===========================
|
|
||||||
# SMTP Relay Queue
|
|
||||||
**/queue/
|
|
||||||
# Node-Red dependencies
|
|
||||||
**/node_modules/
|
|
||||||
# Home Assistant State Registry (Contains secrets)
|
|
||||||
**/.storage/
|
|
||||||
# Text-to-speech cache
|
|
||||||
**/tts/
|
|
||||||
# Stash scrapers (often binary/heavy)
|
|
||||||
**/scrapers/
|
|
||||||
**/smf/
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# KOMODO DEPLOYMENT MANAGER
|
|
||||||
# ===========================
|
|
||||||
# Ignore Komodo's internal cache of git repos
|
|
||||||
**/komodo/repo-cache/
|
|
||||||
**/komodo/core-etc/repos/
|
|
||||||
**/komodo/periphery-etc/repos/
|
|
||||||
# Ignore build artifacts
|
|
||||||
**/komodo/builders/
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# 🚨 CRITICAL EXCLUSIONS 🚨
|
|
||||||
# ===========================
|
|
||||||
|
|
||||||
# 1. Gitea Data (PREVENTS INFINITE LOOP)
|
|
||||||
# This is where Gitea stores the bare repos. Never commit this.
|
|
||||||
**/gitea/git/
|
|
||||||
**/gitea/gitea/
|
|
||||||
**/gitea/ssh/
|
|
||||||
|
|
||||||
# 2. Komodo Internals (Huge Cache)
|
|
||||||
**/komodo/repo-cache/
|
|
||||||
**/komodo/periphery-etc/
|
|
||||||
**/komodo/builders/
|
|
||||||
|
|
||||||
# 3. Media & Assets (Huge User Data)
|
|
||||||
**/stash/data/
|
|
||||||
**/MediaCover/
|
|
||||||
**/metadata/
|
|
||||||
|
|
||||||
# 4. Jellyfin Cache/Metadata (Often inside config)
|
|
||||||
**/jellyfin/config/metadata/
|
|
||||||
**/jellyfin/config/data/
|
|
||||||
**/jellyfin/config/cache/
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# HOME ASSISTANT CLEANUP
|
|
||||||
# ===========================
|
|
||||||
# System Cache & History
|
|
||||||
**/.cache/
|
|
||||||
.ash_history
|
|
||||||
.bash_history
|
|
||||||
.HA_VERSION
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# TECHNITIUM CLEANUP
|
|
||||||
# ===========================
|
|
||||||
# Downloaded Apps/Plugins (Binaries, Zips, DLLs)
|
|
||||||
**/technitium/config/apps/
|
|
||||||
# Blocklists
|
|
||||||
**/technitium/config/blocklists/
|
|
||||||
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# HOME ASSISTANT CLEANUP
|
|
||||||
# ===========================
|
|
||||||
# 1. Internal Caches & History
|
|
||||||
**/.cache/
|
|
||||||
**/.storage/
|
|
||||||
**/.HA_VERSION
|
|
||||||
**/.ash_history
|
|
||||||
**/.bash_history
|
|
||||||
**/.cloud/
|
|
||||||
**/custom_components/
|
|
||||||
|
|
||||||
# 2. Dependencies (The 2000+ files usually live here)
|
|
||||||
**/deps/
|
|
||||||
**/lib/
|
|
||||||
**/site-packages/
|
|
||||||
**/__pycache__/
|
|
||||||
|
|
||||||
# 3. Media & Backups
|
|
||||||
**/tts/
|
|
||||||
**/backups/
|
|
||||||
**/www/
|
|
||||||
**/blueprints/
|
|
||||||
|
|
||||||
# 4. Databases & Logs
|
|
||||||
*.db
|
|
||||||
*.db-shm
|
|
||||||
*.db-wal
|
|
||||||
*.log
|
|
||||||
|
|
||||||
# ===========================
|
|
||||||
# DATABASE & BACKUP BLOCKER
|
|
||||||
# ===========================
|
|
||||||
# Block all SQLite databases (Duplicati, Manyfold, Govee, etc.)
|
|
||||||
*.sqlite
|
|
||||||
*.sqlite3
|
|
||||||
*.sqlite-wal
|
|
||||||
*.sqlite-shm
|
|
||||||
*.db
|
|
||||||
*.db3
|
|
||||||
|
|
||||||
# Block Large Binaries & Backups
|
|
||||||
*.tar
|
*.tar
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.zip
|
*.zip
|
||||||
*.7z
|
*.7z
|
||||||
*.mmdb
|
|
||||||
*.iso
|
*.iso
|
||||||
|
*.mmdb
|
||||||
|
|
||||||
# ===========================
|
# ===========================
|
||||||
# APP SPECIFIC
|
# 4. APP SPECIFIC: HOME ASSISTANT
|
||||||
# ===========================
|
# ===========================
|
||||||
# Duplicati: Block the heavy local databases, keep only json configs if needed
|
# ONLY ignore the internal cache and auth.
|
||||||
**/duplicati/data/
|
# DO NOT ignore .storage (Dashboards) or custom_components (HACS)
|
||||||
**/duplicati/config/*.sqlite
|
**/.HA_VERSION
|
||||||
|
**/.cloud/
|
||||||
|
**/deps/
|
||||||
|
**/home-assistant_v2.db
|
||||||
|
**/home-assistant_v2.db-shm
|
||||||
|
**/home-assistant_v2.db-wal
|
||||||
|
**/tts/
|
||||||
|
|
||||||
# QBittorrent: Block GeoIP databases
|
# OPTIONAL: Un-comment if you want to ignore HACS installs
|
||||||
**/GeoDB/
|
# **/custom_components/
|
||||||
|
# **/www/
|
||||||
|
|
||||||
|
# ===========================
|
||||||
|
# 5. APP SPECIFIC: MEDIA & ARRS
|
||||||
|
# ===========================
|
||||||
|
# Metadata & Images (Can be GBs)
|
||||||
|
**/MediaCover/
|
||||||
|
**/metadata/
|
||||||
|
**/transcode/
|
||||||
|
**/scans/
|
||||||
|
**/scrapers/
|
||||||
|
|
||||||
# Local setup folders
|
# Jellyfin/Plex specific
|
||||||
|
**/jellyfin/config/metadata/
|
||||||
|
**/jellyfin/config/cache/
|
||||||
|
**/Library/Application Support/Plex Media Server/Cache/
|
||||||
|
|
||||||
|
# ===========================
|
||||||
|
# 6. APP SPECIFIC: KOMODO & GITEA
|
||||||
|
# ===========================
|
||||||
|
# Prevent Infinite Loops in Gitea
|
||||||
|
**/gitea/git/
|
||||||
|
**/gitea/gitea/
|
||||||
|
**/gitea/ssh/
|
||||||
|
|
||||||
|
# Komodo Caches
|
||||||
|
**/komodo/repo-cache/
|
||||||
|
**/komodo/builders/
|
||||||
|
|
||||||
|
# ===========================
|
||||||
|
# 7. MISC
|
||||||
|
# ===========================
|
||||||
|
# Node JS
|
||||||
|
**/node_modules/
|
||||||
|
|
||||||
|
# Terraform
|
||||||
.terraform/
|
.terraform/
|
||||||
|
|
||||||
# State backup files (The cause of your current error)
|
|
||||||
*.tfstate.backup
|
*.tfstate.backup
|
||||||
*.tfstate.*.backup
|
|
||||||
|
|
||||||
# Crash logs
|
# Technitium
|
||||||
crash.log
|
**/technitium/config/apps/
|
||||||
|
**/technitium/config/blocklists/
|
||||||
# Ignore local secret files (if you use them)
|
|
||||||
*.tfvars.json
|
|
||||||
override.tf
|
|
||||||
override.tf.json
|
|
||||||
Loading…
Reference in a new issue