Files
operating-room-monitor-server/.gitignore
Kevin 5bbc3903cb Fix Docker log permissions and harden live surgery operations.
Map bind-mounted logs to host UID/GID via entrypoint, expose RTSP prewarm in compose, suppress health-check access noise, and return 409 when another surgery is active with orphan auto-end sweep.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 15:36:09 +08:00

89 lines
1.7 KiB
Plaintext
Executable File

# =============================================================================
# Operation Room Monitor — root .gitignore
# =============================================================================
# --- OS ---
.DS_Store
.AppleDouble
.LSOverride
Thumbs.db
ehthumbs.db
Desktop.ini
# --- IDE / editors ---
.idea/
.vscode/
*.swp
*.swo
*~
.project
.classpath
.settings/
# --- Environment & secrets (all layers) ---
.env
.env.*
!.env.example
!**/.env.example
backend/.env
backend/.env.*
!backend/.env
!backend/.env.example
# --- Python caches (never commit) ---
.mypy_cache/
**/.mypy_cache/
**/__pycache__/
**/*.py[cod]
**/*$py.class
**/.pytest_cache/
**/.mypy_cache/
**/.ruff_cache/
**/.pycache-verify/
**/build/
**/wheels/
**/*.egg-info/
**/.coverage
**/htmlcov/
**/.tox/
**/.nox/
**/dist/
!clients/voice-confirmation/scripts/
# Backend runtime & caches
backend/logs/
backend/logs/app/
backend/Ultralytics/
# Large duplicate ActionFormer checkpoint (canonical copy lives under algorithm_subprocesses/5.15/weights/)
backend/app/resources/actionformer_epoch_045.pth.tar
# Algorithm subprocess bundles — runtime I/O ignored; weights are tracked in git
backend/algorithm_subprocesses/**/input/*
!backend/algorithm_subprocesses/**/input/.gitkeep
backend/algorithm_subprocesses/**/output/*
!backend/algorithm_subprocesses/**/output/.gitkeep
backend/algorithm_subprocesses/**/data/*
!backend/algorithm_subprocesses/**/data/.gitkeep
# --- Clients ---
clients/demo-client/.runtime/
clients/demo-client/labels.json
clients/voice-confirmation/dist/
# --- Docker ---
**/.docker/
# --- Logs & temp ---
*.log
*.tmp
*.temp
.cache/
# --- Legacy / local-only at repo root (pre-restructure) ---
.venv/
logs/
Ultralytics/
scripts/
!backend/scripts/