Files
intercept/.dockerignore
James Smith a982ff5885 fix(wefax): include station JSON in Docker image and handle missing file
data/*.json was excluded by .dockerignore, so wefax_stations.json was
never copied into the container image. The volume mounts in docker-compose
only cover subdirectories (weather_sat, adsb, etc.), leaving the stations
file inaccessible at runtime — causing the /wefax/stations route to 500
and the station/frequency dropdowns to appear empty.

Also adds a graceful file-existence check in load_stations() so a missing
file logs a warning and returns an empty list instead of an unhandled
FileNotFoundError.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 20:51:24 +01:00

62 lines
585 B
Plaintext

# Git & CI
.git
.gitignore
.github
.claude
# Python
__pycache__
*.py[cod]
*$py.class
*.so
.Python
.env
.venv
env/
venv/
.eggs/
*.egg-info/
*.egg
.uv
# IDE
.idea/
.vscode/
*.swp
*.swo
# Test/Dev
tests/
.pytest_cache/
.coverage
htmlcov/
.mypy_cache/
.ruff_cache
.DS_Store
tasks/
# Documentation
*.md
# Runtime data (mounted as volume)
instance/
# data/ is a Python package — only exclude non-code files
data/*.csv
data/*.db
# Build scripts
build-multiarch.sh
# Logs
*.log
# Local Postgres data
pgdata/
pgdata.bak/
# Captured files (don't include in image)
*.cap
*.pcap
*.csv