Skip to content

OCI: Add curl program, to unlock Docker Compose health checks#419

Merged
houqp merged 1 commit intoroapi:mainfrom
crate-workbench:oci-curl
Dec 23, 2025
Merged

OCI: Add curl program, to unlock Docker Compose health checks#419
houqp merged 1 commit intoroapi:mainfrom
crate-workbench:oci-curl

Conversation

@amotl
Copy link
Contributor

@amotl amotl commented Dec 22, 2025

About

The existing healtcheck endpoint http://localhost:8080/health can now be used without much ado within Docker Compose service definitions, and it works well.

healthcheck:
  test: ["CMD", "curl", "--fail", "http://localhost:8080/health"]
  start_period: 3s
  interval: 1.5s
  retries: 30
  timeout: 30s

References

The existing healtcheck endpoint http://localhost:8080/health can
now be used without much ado, and it works well.
@houqp houqp merged commit 0a247a9 into roapi:main Dec 23, 2025
8 checks passed
@amotl
Copy link
Contributor Author

amotl commented Dec 23, 2025

Hi. Thank you for merging swiftly. 💯

@amotl amotl mentioned this pull request Mar 22, 2026
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

Successfully merging this pull request may close these issues.

OCI is missing curl, so Docker Compose healthcheck can't be used

2 participants