feat(security): implement bcrypt hashing for admin password and cleanup Dockerfile

This commit is contained in:
Hördle Bot
2025-11-22 22:37:46 +01:00
parent 23e145e05f
commit aff752d4cb
7 changed files with 55 additions and 41 deletions

View File

@@ -10,7 +10,7 @@ services:
- "3010:3000"
environment:
- DATABASE_URL=file:/app/data/prod.db
- ADMIN_PASSWORD=admin123 # Change this!
- ADMIN_PASSWORD=$2b$10$SHOt9G1qUNIvHoWre7499.eEtp5PtOII0daOQGNV.dhDEuPmOUdsq # Change this! Must be a bcrypt hash. Use scripts/hash-password.js to generate.
- TZ=Europe/Berlin # Timezone for daily puzzle rotation
- GOTIFY_URL=https://gotify.example.com
- GOTIFY_APP_TOKEN=your_gotify_token