feat(deploy): merge Phase 5a deployment configuration

Complete containerized deployment system with Docker/Podman support.

Key features:
- Multi-stage Dockerfile with Python 3.11-slim base
- Docker Compose configurations for production and development
- Nginx reverse proxy with security headers and rate limiting
- Systemd service units for Docker, Podman, and docker-compose
- Backup/restore scripts with integrity verification
- Podman compatibility (ADR-009)

All tests pass including Podman verification testing.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-21 19:16:54 -07:00
parent d3c3e8dc6b
commit 01dcaba86b
22 changed files with 6353 additions and 18 deletions

View File

@@ -121,7 +121,10 @@ class TestPIILogging:
def test_token_prefix_format_consistent(self):
"""Test that token prefixes use consistent 8-char + ellipsis format."""
# Check token_service.py for consistent prefix format
token_service_file = Path("/home/phil/Projects/Gondulf/src/gondulf/services/token_service.py")
# Use Path relative to this test file to work in container
test_dir = Path(__file__).parent
project_root = test_dir.parent.parent
token_service_file = project_root / "src" / "gondulf" / "services" / "token_service.py"
content = token_service_file.read_text()
# Find all token prefix uses