chore(deploy): ship the runtime contract for the server's env check #249
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github-actions
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Evobug/api!249
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/deploy-contract"
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?
Adds
deploy/compose.yml: the API's runtime contract (image, container name, every variable it reads) for the server's two-layer compose scheme.On the server,
deploy.shnow copies this file and.env.exampleout of the image on each deploy, diffs the app layer against the host copy, and aborts beforeupwhen a required variable from.env.exampleis not passed to the container. Host specifics (ports, networks, volume paths) stay in the server'scompose.host.yml.From now on: a new env var goes into
.env.exampleand this file; a new mount is documented here and the host adds the path. No Dockerfile change needed —COPY . .already shipsdeploy/and.env.example.🤖 Generated with Claude Code
https://claude.ai/code/session_01Hf5ZBgU3UWHdB7uMd9qEGi