mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-08 20:15:03 +10:00
2679287543d6825ecf3e98852ba5a57d4aba317e
- Replace old enabled/published fields with single visibility field:
- disabled → 404 for everyone (admin sees in admin UI only)
- internal → 192.168.1.x access without auth; external → 404
- public → anyone can access
- Admin users can see all sites via admin UI regardless of visibility
- Add /api/sites/{name}/visibility endpoint to change visibility
- Keep backward-compat enable/disable/publish/unpublish endpoints
- Database auto-migration from old enabled+published to new visibility
- NFS-safe sync_visibility hides/shows index.html per mode
Home docker
Containers my home media server set up
Fix home-server running out of disk
# Remove dangling images
sudo k3s crictl rmi --prune
# Clean stopped containers
sudo k3s crictl rm $(sudo k3s crictl ps -a -q --state exited)
Languages
Python
30.9%
Shell
27.2%
HCL
21.5%
HTML
19%
Dockerfile
1.3%
Other
0.1%