Dockerfiles and Compose stack for web, api, and db #6
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#6
Loading…
Reference in New Issue
Block a user
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?
Context
One Compose definition serves all stages and self-hosters (deployment.md).
Scope
Write production Dockerfiles:
web(multi-stage: build SPA → nginx with SPA fallback +/healthz),api(multi-stage, non-root user,migrate deployon start). Createdeploy/compose/docker-compose.yml(web, api, db;frontend/internalnetworks; named volumes; healthchecks;restart: unless-stopped),.env.exampledocumenting every variable, andcompose.dev.ymloverlay (source mounts, vite dev server, exposed db port). Document reverse-proxy routing expectations (WebSocket note for later/collab).Acceptance criteria
docker compose -f docker-compose.yml -f compose.dev.yml upgives a working dev environment with hot reloaddocker compose psshows all services healthyTechnical notes
Dependencies
Depends on #2, #3, #4.
Size: ~1.5 days
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.