Merge branch 't3/implement-auth-deploy'
Integrate auth, config, watcher and terminal wiring in buildApp: auth guards every API route by default, notebook watcher events feed the /api/events hub, the terminal runs in the configured workspace, and SHELLBOOK_DATA_DIR is the single data directory variable. The systemd unit uses KillMode=process so tmux sessions survive service restarts.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
`buildApp({ config: { workspaceDir, dataDir, sshKeyPath }, events })` accepts
|
||||
overrides for tests and embedding. Defaults come from `SHELLBOOK_WORKSPACE`
|
||||
(`workspace`), `SHELLBOOK_DATA` (`data`), and `SHELLBOOK_SSH_KEY`
|
||||
(`workspace`), `SHELLBOOK_DATA_DIR` (`data`), and `SHELLBOOK_SSH_KEY`
|
||||
(`data/id_ed25519`). Paths resolve against the service working directory.
|
||||
|
||||
The workspace contains `notebooks/**/*.md`, `hosts.yaml`, and `known_hosts`.
|
||||
|
||||
Reference in New Issue
Block a user