this post was submitted on 17 Aug 2026
94 points (94.3% liked)
Technology
87417 readers
3660 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One thing, any chance you've heard of a way to have two remotes, one basically ignored gitignore (personal self-hosted storage) vs front-facing with github or similar?
Hmm not natively but I think you could hack something together using git plumbing, perhaps just some hooks. I would still advise against adding secrets to version control even if it stays completely local though, it's still "bad hygiene" and something you should try to avoid. You don't need to go with a full-fledged secret management solution, just keep your secrets in
.envs or similar external files and use a password manager to store your live keys. Of course it all depends on the specific context, if it's something bound to loopback I'm not going to stop you from runningadmin:adminand committing that to your personal docker-compose stash, but if it's protecting something you care about don't put it in git.