Liosha84 and Junie
f3e095dafc
Add Gitea Actions CI/CD for automated Docker builds
...
- Add .gitea/workflows/docker.yml: builds and pushes Docker image on Git tags
with semantic versioning (v0.1.0 → tags 0.1.0, 0.1, latest)
- Add .dockerignore to optimize Docker build context
- Document release process in docs/DEVELOPMENT.md
- Update CHANGELOG.md with v0.1.0 release and Unreleased CI/CD entry
Required Gitea secrets: REGISTRY_USERNAME, REGISTRY_PASSWORD
Co-authored-by: Junie <junie@jetbrains.com >
2026-10-28 23:27:29 +01:00
Liosha84 and Junie
597d8f380a
Major improvements: multi-stage Docker, security hardening, host metrics, tests
...
- Multi-stage Docker build: Dockerfile compiles frontend (Node.js) and
backend (Gradle) inside Docker; no local Java/Node.js required
- Security hardening: replaced full host root mount with specific
directory mounts (/proc, /sys, /etc, /var, /home, /opt, /tmp, /srv, /usr)
- Host metrics consistency: LinuxMemoryService and CpuDetailsService now
read from /host/proc instead of container OSHI
- Concurrency: replaced synchronized with AtomicReference in 3 services
- Global error handling: added @RestControllerAdvice for JSON error responses
- Unit tests: added 32 tests for /proc parsers, CPU usage, process uptime
- Docker security: non-root user, read-only FS, no-new-privileges, healthcheck
- Debug logging: added log.debug() in silent catch blocks
- Documentation: updated README, INSTALLATION, DEVELOPMENT, CONFIGURATION,
ARCHITECTURE, CHANGELOG
Co-authored-by: Junie <junie@jetbrains.com >
2026-10-28 23:18:01 +01:00