Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage container startup order and health checks via the UI #2182

Open
ciux23 opened this issue Mar 4, 2025 · 0 comments
Open

Manage container startup order and health checks via the UI #2182

ciux23 opened this issue Mar 4, 2025 · 0 comments

Comments

@ciux23
Copy link

ciux23 commented Mar 4, 2025

Hello everyone,

I would like to propose the addition of new options in the CasaOS configurator to manage the startup order of containers and perform health checks directly through the user interface.

Context:
Currently, CasaOS only allows the configuration of environment variables, devices, container commands, cap-add, and volumes. It does not offer the ability to define container startup order or perform health checks to ensure that one container is fully operational before starting another.

Requested Features:

  • Health Checks: Add the ability to configure a health check (e.g., curl --fail http://localhost:8123/ || exit 1) to ensure that a container is in a "healthy" state before starting the others.
  • Dependencies (Depends_On): Introduce a functionality similar to Docker Compose's depends_on directive, which allows defining dependencies between containers, ensuring that a container only starts if the one it depends on has been started successfully.

Benefits:

  • Improved coordination and stability during container restarts.
  • Reduced errors caused by uncontrolled parallel container startups.
  • Greater flexibility for complex environments where the startup order is critical.

I hope this proposal can be considered, as it would significantly improve container management in CasaOS.

Thank you for your attention and for your continuous work!

Best regards,
ciux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant