Skip to content

Increase Docker security hardening #110

@scubaninja

Description

@scubaninja
  • Remove database port exposure from docker-compose.yml
  • Create non-root users in the Dockerfiles
  • Implement Docker secrets management by creating secrets/ directory and to use secret files instead of hardcoded credentials
  • Add security contexts and resource limits including no-new-privileges, read-only filesystem, capability dropping, and CPU/memory constraints
  • Update base images to latest stable versions
  • Implement health checks and monitoring in both Dockerfiles with proper interval, timeout, and retry configurations

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions