Add a committed .env.dev with dummy values for the dev stack
Starting the dev stack meant hand-building a .env, and the quick route of copying production's put real credentials on a dev machine: cookies were scoped to the live domain (so localhost login failed) and the mail, job-board and tunnel integrations ran against real accounts. .env.dev holds a dummy for every variable in .env.example, in whatever shape each service parses, with DOMAIN=localhost and the background jobs that touch real accounts switched off. It is copied over .env because several services read env_file: ./.env directly. OBSIDIAN_DIR points at a tracked dev/notes/ folder so the bind mount never gets created as root. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Dev notes vault
|
||||
|
||||
`OBSIDIAN_DIR` in `.env.dev` points here, so the dev stack's SilverBullet
|
||||
instances and the backend's `/notes` endpoint have a vault to mount. Anything
|
||||
you write here is gitignored; only this README is tracked.
|
||||
|
||||
It is deliberately not a git repository, so `silverbullet-git` logs that and
|
||||
idles instead of syncing it anywhere.
|
||||
Reference in New Issue
Block a user