Commit graph

3 commits

Author SHA1 Message Date
89374de57f feat: centralize configuration and improve Makefile
- Add config.sh with centralized container names and ports
- Update healthcheck.sh to use config variables (avoid hardcoding)
- Add health check targets to Makefile (health, health-*)
- Add backup utility targets to Makefile (backup, backup-*)
- Reorganize Makefile help output by service category
2025-12-14 10:00:00 +08:00
3e1d752bfd refactor: extract shared utilities into common library
- Create bin/lib/common.sh with shared logging and utility functions
- Add minecraft/.env.example for environment configuration template
- Update bin scripts to source shared library (DRY principle)
- Consolidate duplicated logging functions across scripts
2025-12-13 10:00:00 +08:00
2e55194f5c feat: add operational utilities for monitoring and backup
Add healthcheck.sh for service status monitoring
- Check container health and port accessibility
- Support individual service or all-services check

Add backup.sh for data protection
- Backup service data and configurations
- List existing backups
- Cleanup old backups with retention policy

Unix philosophy: small sharp tools that do one thing well
2025-12-07 13:00:00 +08:00