# Environment Variables
.env

# mounted volume
sites

development/*
!development/README.md
!development/installer.py
!development/apps-example.json
!development/vscode-example/

# Pycharm
.idea

# VS Code
.vscode/**
!.vscode/extensions.json

# VS Code devcontainer
.devcontainer
*.code-workspace

# Python
*.pyc
__pycache__
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
