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 <noreply@anthropic.com>
This commit is contained in:
13
.env
Normal file
13
.env
Normal file
@@ -0,0 +1,13 @@
|
||||
# Termix Auto-generated Configuration
|
||||
|
||||
|
||||
# Security Keys (Auto-generated)
|
||||
DATABASE_KEY=8a731dc798578dba00002b325f8f7ce941e0c93220062c670808c536a9ff336b
|
||||
|
||||
# SSL Configuration (Auto-generated)
|
||||
ENABLE_SSL=false
|
||||
SSL_PORT=8443
|
||||
SSL_CERT_PATH=/Users/zacharyzcr/WebstormProjects/Termix/ssl/termix.crt
|
||||
SSL_KEY_PATH=/Users/zacharyzcr/WebstormProjects/Termix/ssl/termix.key
|
||||
SSL_DOMAIN=localhost
|
||||
JWT_SECRET=f200e28053a39d216667c503e39124cbd3acaa23b45628ed0b8ce364b9072d6a
|
||||
Reference in New Issue
Block a user