Docker: 3-binary deployment (presentation, worker, playout) #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#2
What to build
Update the Docker deployment for the 3-binary architecture. Three containers: presentation (HTTP API), worker (background jobs), playout (HLS streaming). Shared SQLite volume for single-machine deployment.
Create Dockerfiles (or multi-stage builds) for each binary. Update compose.yml with three services. The playout service needs FFmpeg installed in its container image.
Env vars:
DATABASE_URLshared by all three (points to the shared SQLite file)PLAYOUT_LISTEN_PORTfor the playout HTTP serverSEGMENT_STORE_PATHfor HLS segment storageAcceptance criteria
docker compose upstarts all three servicesregistry.gabrielkaszewski.devwith correct namesNEXT_PUBLIC_API_URLandNEXT_PUBLIC_PLAYOUT_URLbaked into frontend image at build timeBlocked by