Package and serve the website and API from one image #26
Labels
No labels
area/backend
area/frontend
area/tooling
kind
build
kind
chore
kind
ci
kind
docs
kind
feat
kind
perf
kind
test
size
l
size
m
size
s
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#30 Block vulnerable dependencies and unsafe container configuration
viacheslavshuka/quorum
#31 Scan the disposable authenticated API with ZAP
viacheslavshuka/quorum
#32 Use one application version across builds and release artifacts
viacheslavshuka/quorum
#33 Offer a safe reload when an open page needs a new application version
viacheslavshuka/quorum
#6 Start the FastAPI runtime with owned database resources
viacheslavshuka/quorum
#7 Create the React application with locked frontend tooling
viacheslavshuka/quorum
#16 Run durable PostgreSQL jobs with atomic effects
viacheslavshuka/quorum
Reference
viacheslavshuka/quorum#26
Loading…
Reference in a new issue
No description provided.
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?
One deployable image keeps the frontend and API release coordinated. Static delivery needs correct caching, Brotli negotiation, and explicit handling of retained assets.
Scope
Build the Vite assets into the FastAPI application image. Serve through Granian with
--loop uvloopbehind Dokploy's proxy under one website origin. The background worker uses a separate entrypoint from the same application image and version.Acceptance criteria
Validation
Test the built image through direct routes, missing assets, compression variants, database failure, and process termination. Replace the image and check current, retained, and expired asset responses.
Dependencies
Related work