feat(FN-010): implement code-server spawn service with Docker Compose

- Add SpawnService with container lifecycle (spawn/stop/status)
- Generate Docker Compose services from tool manifests
- Integrate Traefik label generation with subdomain routing
- Mount workspace, config, and SSH key volumes
- Add container status polling and health checks
- Enhance tool instance API with spawn/stop/start/status endpoints
- Add Traefik forwardAuth middleware for auth proxy
- Update code-server manifest with runtime configuration
This commit is contained in:
2026-05-14 17:27:19 +02:00
parent ca18e25d8d
commit 6aea953734
8 changed files with 928 additions and 14 deletions
+3
View File
@@ -34,6 +34,9 @@ class ToolInstance(Base, UUIDMixin, TimestampMixin):
config_override: Mapped[dict[str, Any] | None] = mapped_column(
JSON, nullable=True
)
traefik_labels: Mapped[dict[str, Any] | None] = mapped_column(
JSON, nullable=True
)
project: Mapped["Project"] = relationship(
back_populates="tool_instances"