Skip to content

chore(ops): move the production tree out of the dockhand volume, rename .env.dockhand to .env.prod - #113

Merged
kipavy merged 1 commit into
mainfrom
chore/env-prod-out-of-dockhand
Oct 18, 2026
Merged

kipavy merged 1 commit into
mainfrom
chore/env-prod-out-of-dockhand

Conversation

@kipavy

@kipavy kipavy commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

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)

  • tree copied to /home/ubuntu/fourretout/voltius-server (owned by ubuntu), .env.dockhand → .env.prod, mode 600, byte-identical
  • docker compose config identical from both trees; server recreated on the same image sha-afe9104, healthy in ~15 s; /health 200, billing 401, api.voltius.app/health/deep 200

In the repo

  • every .env.dockhand reference → .env.prod (scripts, ansible, runbooks)
  • secrets-bundle.sh: drop DOCKHAND_ENV_FILE; unpack restores a bundle packed before the rename (voltius-server/.env.dockhand → .env.prod), tested against a synthetic old-layout tarball
  • deploy-server.md: new tree path, commands without sudo sh -c, and a dated record of the move
  • bootstrap-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

…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>
@kipavy
kipavy merged commit d03ec6f into main Oct 18, 2026
3 checks passed
@kipavy
kipavy deleted the chore/env-prod-out-of-dockhand branch October 18, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant