Skip to content

feat(proxy): enhance Docker security and add health check#1002

Merged
Ahoo-Wang merged 1 commit into
mainfrom
enhance-Docker-security-and-add-health-check
Apr 1, 2026
Merged

feat(proxy): enhance Docker security and add health check#1002
Ahoo-Wang merged 1 commit into
mainfrom
enhance-Docker-security-and-add-health-check

Conversation

@Ahoo-Wang
Copy link
Copy Markdown
Owner

  • Add non-root user (appuser) and group (appgroup) for container security
  • Copy application files with proper ownership (appuser:appgroup)
  • Implement HEALTHCHECK using curl to monitor actuator endpoint
  • Set STOPSIGNAL to SIGTERM for graceful shutdown
  • Switch from root to appuser for running the application

- Add non-root user (appuser) and group (appgroup) for container security
- Copy application files with proper ownership (appuser:appgroup)
- Implement HEALTHCHECK using curl to monitor actuator endpoint
- Set STOPSIGNAL to SIGTERM for graceful shutdown
- Switch from root to appuser for running the application
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Apr 1, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.27%. Comparing base (fa215c0) to head (ab88025).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1002      +/-   ##
============================================
- Coverage     85.32%   85.27%   -0.05%     
  Complexity     1328     1328              
============================================
  Files           214      214              
  Lines          4191     4191              
  Branches        413      413              
============================================
- Hits           3576     3574       -2     
- Misses          341      342       +1     
- Partials        274      275       +1     
Flag Coverage Δ
unittests 85.27% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Ahoo-Wang Ahoo-Wang merged commit 1fd9cd6 into main Apr 1, 2026
21 of 22 checks passed
@Ahoo-Wang Ahoo-Wang deleted the enhance-Docker-security-and-add-health-check branch April 1, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant