fix: restore HAPPY_HOME_DIR to PVC to preserve settings across restarts (#19)

Moving it to /workspace (emptyDir) wiped Happy Coder's auth, config,
and state on every pod restart. The daemon also failed to start on boot
because the settings were gone.

Keep HAPPY_HOME_DIR on the home PVC (/home/user/.happy) for persistence.
The stale lock cleanup in init-repo.sh already handles the daemon.state.json.lock
problem that motivated the workspace move.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #19.
This commit is contained in:
2026-02-20 13:22:33 -05:00
committed by GitHub
parent b5820cfc7f
commit b0d4b98bb4
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ githubRepo: ""
# Happy Coder endpoints
happyServerUrl: "https://happy.farh.net"
happyWebappUrl: "https://happy-coder.farh.net"
happyHomeDir: "/workspace/.happy"
happyHomeDir: "/home/user/.happy"
happyExperimental: "true"
# VNC display