Repository navigation
chore(ops): move the production tree out of the dockhand volume, rename .env.dockhand to .env.prod - #113
Merged
Conversation
…me its env file to .env.prod The deployment tree now lives in /home/ubuntu/fourretout/voltius-server, the same layout bootstrap-host.sh and ansible/ already produce, and .env.dockhand is .env.prod. The DOCKHAND_ENV_FILE special case in secrets-bundle.sh goes away; unpack still restores a bundle packed under the old name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dockhand was retired from the production host on 2026-10-18. The deployment tree had stayed inside its Docker volume, root-owned, with every production secret in a file named after a tool that no longer runs there. Both are fixed on the host already; this PR makes the repo match.
On the host (done)
/home/ubuntu/fourretout/voltius-server(owned byubuntu),.env.dockhand→.env.prod, mode 600, byte-identicaldocker compose configidentical from both trees; server recreated on the same imagesha-afe9104, healthy in ~15 s;/health200, billing 401,api.voltius.app/health/deep200In the repo
.env.dockhandreference →.env.prod(scripts, ansible, runbooks)secrets-bundle.sh: dropDOCKHAND_ENV_FILE;unpackrestores a bundle packed before the rename (voltius-server/.env.dockhand→.env.prod), tested against a synthetic old-layout tarballdeploy-server.md: new tree path, commands withoutsudo sh -c, and a dated record of the movebootstrap-host.md: the current box now has the same layout a rebuilt one gets.gitignore:.env.prod*Follow-up: re-pack the secrets bundle so it carries
.env.prod(needs the age recipient, which is not on the host). Old bundles keep working through the fallback in the meantime.🤖 Generated with Claude Code