You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: devcontainer env vars, docs, and java version detection (#450)
* fix: add missing simpleaccounts_db env vars and update documentation
Issues fixed:
- Backend failed to start due to missing SIMPLEACCOUNTS_DB_* environment variables
- post-start.sh used wrong hostnames (localhost vs db/redis)
- Documentation had outdated npm commands (npm run dev vs npm start)
Changes:
- Add SIMPLEACCOUNTS_DB_HOST, SIMPLEACCOUNTS_DB_PORT, etc. to .env.example
- Add same env vars to Coder template.tf for seamless Coder support
- Update post-start.sh to auto-detect Coder vs DevContainer environment
- Fix npm commands in CLAUDE.md, AGENTS.md, and other docs
- Update README.md architecture diagram to show localhost networking
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: handle java_tool_options in java version detection scripts
The JAVA_TOOL_OPTIONS environment variable outputs a message that was
being captured by `head -1`, causing Java version detection to fail
even when Java 21+ was properly installed.
Fixed by using `grep -E '(openjdk|java) version'` to filter for the
actual version line before extracting the version number.
Files fixed:
- apps/backend/run.sh
- apps/backend/check_java.sh
- scripts/setup-mcp-sonarqube.sh
- scripts/run-sonarqube-mcp.sh
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Developer <developer@simpleaccounts.io>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments