 ZacharyZcRandClaude
|
27da06d72f
|
DOCKER: Add INTERNAL_AUTH_TOKEN support and improve auto-generation
- Add INTERNAL_AUTH_TOKEN to docker-compose.yml environment variables
- Create comprehensive .env.example with deployment guidance
- Document zero-config deployment for single instances
- Clarify multi-instance deployment requirements
- Ensure auto-generated keys persist in Docker volumes (/app/config)
Security improvements:
- Complete Docker support for new internal auth token mechanism
- Maintains automatic key generation while ensuring persistence
- No manual configuration required for standard deployments
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
|
2025-09-24 02:17:08 +08:00 |
|
ZacharyZcR
|
fdc8198c3d
|
Merge branch 'main' of github.com:ZacharyZcR/Termix
|
2025-09-24 00:13:08 +08:00 |
|
 ZacharyZcRandClaude
|
084bfd9500
|
fix: 修复数据库解密Silent Failure导致数据丢失
- 移除静默忽略解密错误的逻辑,始终快速失败
- 添加详细的SystemCrypto初始化和解密过程日志
- 修复CommonJS require语法错误
- 确保数据库解密失败时不会创建空数据库
问题根源:异步初始化竞争条件 + Silent Failure掩盖真实错误
修复后:解密失败会明确报错,防止数据丢失
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
|
2025-09-23 23:37:57 +08:00 |
|
 ZacharyZcRandClaude
|
009f258996
|
FIX: Resolve Docker build and deployment critical issues
- Upgrade Node.js to 24 for dependency compatibility (better-sqlite3, vite)
- Add openssl to Alpine image for SSL certificate generation
- Fix Docker file permissions for /app/config directory (node user access)
- Update npm syntax: --only=production → --omit=dev (modern npm)
- Implement persistent configuration storage via Docker volumes
- Modify security checks to warn instead of exit for auto-generated keys
- Remove incorrect root Dockerfile/docker-compose.yml files
- Enable proper SSL/TLS certificate auto-generation in containers
All Docker deployment issues resolved. Application now starts successfully
with persistent configuration and auto-generated security keys.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
|
2025-09-23 06:52:08 +08:00 |
|