Skip to content

Add a lightweight Docker healthcheck #12

Description

@llaumgui

Hi,

If you're interested, I can work on a Pull Request to integrate s6-overlay. This would allow us to:

  • Optimize startup performance: Run entrypoint initialization operations once at container startup rather than on every invocation.
  • User/Group customization: Allow custom PUID and PGID configuration.
  • Enhanced secrets management: Support the FILE__ prefix pattern for secrets to avoid exposing sensitive data in environment variables.
  • ...and more.

You can check an example of how I implemented this in one of my Docker images: https://github.com/llaumgui/docker-images-nextcloud-php-fpm/tree/main/8.5/rootfs

Additionally, I would be happy to help add a healthcheck. Is there an existing API endpoint such as /api/health that we could use for this?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions