Features: - Docker mode detection via DOCKER_MODE env var - Persistent volumes for uploads, database, and output - Health checks and auto-restart - Complete docker-compose.yml configuration - Helper script (docker-run.sh) for easy management - Comprehensive DOCKER.md documentation Changes: - web_app.py: Auto-detect Docker mode, use persistent dirs - src/database.py: Auto-detect database path based on environment - Dockerfile: Multi-stage build with all dependencies (ExifTool, Tesseract, Poppler, FFmpeg) - docker-compose.yml: Production-ready configuration - docker-run.sh: Management script (build, start, stop, logs, etc.) - DOCKER.md: Complete deployment and troubleshooting guide - README.md: Added Docker quick start section - .gitignore: Added Docker-related entries Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
105 lines
1.1 KiB
Text
105 lines
1.1 KiB
Text
# These are some examples of commonly ignored file patterns.
|
|
# You should customize this list as applicable to your project.
|
|
# Learn more about .gitignore:
|
|
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
|
|
|
|
# Node artifact files
|
|
node_modules/
|
|
dist/
|
|
|
|
# Compiled Java class files
|
|
*.class
|
|
|
|
# Compiled Python bytecode
|
|
*.py[cod]
|
|
|
|
# Log files
|
|
*.log
|
|
|
|
# Package files
|
|
*.jar
|
|
|
|
# Maven
|
|
target/
|
|
dist/
|
|
|
|
# JetBrains IDE
|
|
.idea/
|
|
|
|
# Unit test reports
|
|
TEST*.xml
|
|
|
|
# Generated by MacOS
|
|
.DS_Store
|
|
|
|
# Generated by Windows
|
|
Thumbs.db
|
|
|
|
# Applications
|
|
*.app
|
|
*.exe
|
|
*.war
|
|
|
|
# Large media files
|
|
*.mp4
|
|
*.tiff
|
|
*.avi
|
|
*.flv
|
|
*.mov
|
|
*.wmv
|
|
|
|
# Python virtual environments
|
|
venv/
|
|
venv_new/
|
|
venv_local/
|
|
env/
|
|
ENV/
|
|
.venv/
|
|
|
|
# Python cache
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Environment variables
|
|
.env
|
|
.env.local
|
|
|
|
# Excel files with data
|
|
*.xlsx
|
|
*.xls
|
|
|
|
# Uploads and output directories
|
|
uploads/
|
|
output/
|
|
Files/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.claude/
|
|
CLAUDE.md
|
|
|
|
# Database files
|
|
*.db
|
|
*.sqlite
|
|
*.sqlite3
|
|
|
|
# Server files
|
|
server.pid
|
|
server.log
|
|
nohup.out
|
|
|
|
# Test files
|
|
test_*.csv
|
|
test_*.xlsx
|
|
test_*.json
|
|
TEST_REPORT.md
|
|
|
|
# Docker
|
|
.dockerignore
|
|
docker-compose.override.yml
|
|
|
|
# Backup files
|
|
*.tar.gz
|
|
*.zip
|
|
backup-*/
|
|
|