From dce19ea8ebabec6b2b44e49d265ef068d455e945 Mon Sep 17 00:00:00 2001 From: duthink Date: Tue, 14 Oct 2025 12:40:52 +0530 Subject: [PATCH] Add production-specific gitignore rules (safe for upstream sync) --- .gitignore | 164 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) diff --git a/.gitignore b/.gitignore index 94a9fe2f..bd77d062 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,167 @@ venv # NodeJS node_modules + +# ================================================================= +# PRODUCTION-SPECIFIC ADDITIONS - DO NOT MODIFY UPSTREAM CONTENT ABOVE +# Safe to add without affecting upstream syncs +# ================================================================= + +# Additional Environment Variables +.env.local +.env.*.local +!.env.example +!example.env + +# Production secrets and sensitive data +production/secrets/ +production/data/ +production/logs/ +production/backups/ +production/traefik/acme.json +production/traefik/certificates/ +production/traefik/logs/ +secrets/ +*.key +*.pem +*.crt +*.p12 +*.pfx + +# Docker and container data +docker-compose.override.yml +.docker/ +data/ +volumes/ + +# Extended mounted volumes +sites/*/private/ +sites/*/public/files/ +sites/*/logs/ +sites/*/.git/ +sites/*/site_config.json +sites/common_site_config.json + +# Logs and temporary files +logs/ +*.log +*.log.* +log/ +tmp/ +temp/ +cache/ +.cache/ +*.tmp +*.temp + +# Backups and database files +backups/ +backup/ +*.sql +*.sql.gz +*.dump +*.tar +*.tar.gz +*.zip +*.bak +*.db +*.sqlite* +dump.rdb +appendonly.aof + +# SSL/TLS and certificates +certificates/ +certs/ +ssl/ +letsencrypt/ + +# Additional IDE and Editor files +*.swp +*.swo +*~ +.project +.settings/ + +# OS generated files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Extended Python +*.py[cod] +*$py.class +*.so +.venv/ +env/ +ENV/ +env.bak/ +venv.bak/ +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# Extended NodeJS +npm-debug.log* +yarn-debug.log* +yarn-error.log* +.npm/ +.yarn/ + +# Testing and coverage +.coverage +.pytest_cache/ +.tox/ +coverage.xml +*.cover +.hypothesis/ +.cache +nosetests.xml +coverage/ +htmlcov/ +test-results/ + +# Jupyter Notebook +.ipynb_checkpoints + +# Documentation builds +docs/_build/ +site/ + +# Runtime and process files +*.pid +*.lock +.pids/ + +# Frappe/ERPNext specific +apps.txt +sites/apps.txt +sites/currentsite.txt +*.mariadb +*.postgres + +# Monitoring and metrics +prometheus/ +grafana/ +monitoring/ + +# Traefik specific (production) +traefik/dynamic/*.yml.backup +traefik/dynamic/*.yml.bak