fix: copy button HTTP fallback, reset-admin-password in Docker, scripts volume
- CellNetwork.jsx CopyButton: use execCommand fallback when clipboard API is unavailable (HTTP non-localhost context) - Makefile reset-admin-password: run inside cell-api container via docker exec so bcrypt and all deps are available without host installation - docker-compose.yml: mount ./scripts:/app/scripts:ro in cell-api so the reset script is accessible inside the container - scripts/reset_admin_password.py: auto-detect API module path and data dir so the script works in both host (api/ sibling) and container (/app) layouts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -284,7 +284,7 @@ show-admin-password:
|
||||
@sudo python3 scripts/reset_admin_password.py --show
|
||||
|
||||
reset-admin-password:
|
||||
@sudo python3 scripts/reset_admin_password.py --generate
|
||||
@docker exec cell-api python3 /app/scripts/reset_admin_password.py --generate
|
||||
|
||||
|
||||
# ── Network / peers ───────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user