[Infrastructure] - Install Script#304
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…l be changed once we implement db string pattern matching
4d85bae to
218998b
Compare
11 tasks
LOTaher
added a commit
that referenced
this pull request
May 27, 2026
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.
[Infrastructure] - Install Script
Changes
Sarge is now self-hostable!
install.sh: the one-line entrypoint userscurl | sudo sh. It does the following:docker compose up -dgo:embed. The hostname and randomized secrets(DB password, BETTER_AUTH_SECRET, JWT_SECRET) are all created and inserted at install time
release-installer.yml: auto-bumps the patch tag and cuts a release of the Go binary when src/install/** changes on mainpublish-images.yml: rebuilds and pushes web/ws images to GHCR on every merge to mainNotes
Go is in our stack now! Maybe this was inevitable before I left lol. It may seem daunting to include a new language in our stack, but this will not affect Sarge development, it is simply the language used for this installation flow. A large separation of concerns! Why Go is best for the job:
Recording
Here is a full end-to-end flow on how to self host Sarge. This will be properly explained in the onboarding docs I create later.
(attached in slack channel)
Checklist
Please go through all items before requesting reviewers:
Closes
Closes #187