Add GoAccess metrics dashboard with WebSocket support

- Add GoAccess package to Docker container
- Create GoAccess startup script with real-time HTML generation
- Add metrics.ralsina.me server block with authentication
- Configure WebSocket proxy for live metrics updates
- Add password protection with .htpasswd
- Fix WebSocket URL to use proper HTTPS endpoint
- Update all server blocks to listen on 0.0.0.0:8080 for Fly.io compatibility

Co-Authored-By: z.ai LGM 4.5 <noreply@z.ai>
This commit is contained in:
2025-10-03 10:53:26 -03:00
parent 493c5528ce
commit 7b5ce1a5e8
6 changed files with 136 additions and 12 deletions

View File

@@ -0,0 +1,23 @@
{
"permissions": {
"allow": [
"Bash(git add:*)",
"Bash(git commit:*)",
"Bash(chmod:*)",
"Bash(openssl:*)",
"Bash(cat:*)",
"Bash(echo:*)",
"Bash(pass:*)",
"Bash(docker build:*)",
"Bash(docker logs:*)",
"Bash(curl:*)",
"Bash(docker exec:*)",
"Bash(docker stop:*)",
"Bash(docker rm:*)",
"Bash(docker run:*)",
"WebSearch"
],
"deny": [],
"ask": []
}
}