nas-samba v1.0.1: health check, hostname, remove demo credentials

- Add health check (curl /api/health) so Traefik can verify container health
- Set container hostname to nas.alexzaw.dev
- Remove hardcoded demo credentials from login page
- Remove admin123 fallback password — require SMB_PASSWORD env var
- Fail fast if no admin password is configured
This commit is contained in:
2026-04-26 05:13:01 +00:00
parent 5b213d8e51
commit 3c67eb75c3
14 changed files with 36 additions and 43 deletions

View File

@@ -129,11 +129,7 @@ function LoginPage() {
<div className="mt-8 p-4 bg-muted rounded-lg">
<p className="text-sm text-muted-foreground">
<span className="font-medium text-foreground">Demo credentials:</span>
<br />
Username: <code className="font-mono bg-background px-1 rounded">admin</code>
<br />
Password: <code className="font-mono bg-background px-1 rounded">admin123</code>
Use your NAS credentials to sign in. Contact your administrator if you need access.
</p>
</div>
</div>