Repository navigation
docs: host on a VPS (production .env, first lab, HTTPS, backups); seed from the image - #27
Merged
Merged
Conversation
…d from the image - docs/20-vps.md and deploy/production.env.example - dist/seed.js in the build, so `docker compose run --rm db-sync node dist/seed.js` creates the first lab - links to the update guide point at docs/19-updates.md (renamed when #23 took 18) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018jBohmSXdQwAG8EmEBKYkQ
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.
Requested by Himanshu · project thread
.env, start, first lab, HTTPS with Caddy, dailypg_dumpwith off-server copies and a restore, updates, everyday commands, checklist.CHANGE_MEwhere a value is required.HTTP_PORT=127.0.0.1:8080(Docker's ports bypass ufw) andTRUST_PROXY=2(Caddy + nginx).docker compose run --rm db-sync node dist/seed.js(direct to PostgreSQL; password taken from the shell's environment, never on the command line). Checked:node dist/sync.jsthennode dist/seed.jsagainst PostgreSQL 17 created the org, branch, owner and 25 ledgers.docs/19-updates.mdsince feat: import partner-lab reports (report-reader) #23 took 18 (.env.example, compose header, release notes text).docker compose --env-file deploy/production.env.example configbinds nginx to 127.0.0.1:8080 and passesTRUST_PROXY=2.Generated by Claude Code