kiskaadee 8b1e6b721c build(docker): update service Dockerfiles for workspace packaging and migrations
- Copy services/contracts into builder and runner stages for worker and bff
- Copy alembic.ini and services/worker/alembic into worker runner stage
- Enable bytecode compilation via UV_COMPILE_BYTECODE=1
- Update PYTHONPATH to include contracts stubs

Closes #4
2026-10-31 22:11:06 -05:00
2026-09-01 15:07:37 -05:00

🎬 MagNetFlix

Self-hosted, automated media acquisition and library organization pipeline built with FastAPI (BFF), gRPC, SQLite WAL, Transmission RPC, and pluggable SSO/OIDC authentication.


📖 Table of Contents


⚡ Quick Start

# 1. Enter hermetic dev shell (Nix)
nix develop

# 2. Or install dependencies with uv workspace
uv sync

# 3. Generate protobuf stubs & documentation
make generate

# 4. Run test suite
uv run pytest

# 5. Run static type checking and linters
make check

📁 Repository Structure

.
├── AGENTS.md                  # Development guidelines & safety invariants
├── CLAUDE.md                  # Developer CLI commands & tool directives
├── Makefile                   # High-level build, codegen, lint, and test targets
├── README.md                  # Project landing page
├── buf.gen.yaml               # Buf code generation configuration
├── buf.yaml                   # Buf module configuration
├── docker-compose.yml         # Multi-container Compose stack specification
├── docs/                      # Authoritative architecture and operations documentation
│   ├── adr/                   # Architecture Decision Records (ADRs)
│   ├── history/               # Audit logs and review ledgers
│   ├── architecture.md        # System design, data flow, and invariants
│   ├── deployment.md          # Container topology and reverse proxy integration
│   ├── overview.md            # Feature overview & workflow
│   └── roadmap.md             # 5-Milestone implementation plan
├── proto/                     # Protocol Buffer definitions
│   └── magnetflix/v1/
│       └── pipeline.proto
├── services/
│   ├── bff/                   # FastAPI Web Gateway / HTML Form / Pluggable SSO
│   ├── contracts/             # Shared Protobuf & gRPC contracts package
│   └── worker/                # gRPC Pipeline Worker & Transmission Coordinator
└── tests/                     # Unit and integration test suites
S
Description
Self-hosted media acquisition and library organization pipeline built with FastAPI (BFF), gRPC, SQLite WAL, Transmission RPC, and Authelia SSO.
Readme
728 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 93%
Dockerfile 3%
Nix 2.5%
Mako 1.1%
Makefile 0.4%