Add disposable VM deployment path#4
Open
nonprofittechy wants to merge 59 commits into
Open
Conversation
…y-hardening Harden LegalServer access and production security defaults
Apply Buckeye design system theme
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.
Summary
Adds a concrete production deployment path for running HaddenDraft on a disposable Ubuntu VM while moving secrets and durable state out of the VM.
Includes:
deploy/bootstrap-vm.shto bootstrap or redeploy a VM from scratch-ish Ubuntu host stateDATABASE_URLsupport for external PostgreSQL while preserving local SQLite defaultsNotes
The bootstrap script intentionally avoids remote installer pipes. It installs common Ubuntu packages and
docker.io, then fails clearly if the host still needs the Docker Compose plugin or Azure CLI installed by the VM build process.Validation
main; branch is 11 commits ahead and touches the expected deployment/config/docs files.